AttributeBag
API reference › HTML Helper › AttributeBag
Provides the concrete entry point for HTML attribute bag operations.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
get() static | Returns an attribute value by key. | UIAwesome\ |
normalizeKey() static | Normalizes an attribute key ensuring it has a specific prefix. | UIAwesome\ |
remove() static | Removes an attribute from the bag. | UIAwesome\ |
replace() static | Replaces all attributes in the bag. | UIAwesome\ |
set() static | Sets a plain attribute key/value pair. | UIAwesome\ |
setMany() static | Sets multiple plain attributes. | UIAwesome\ |