A augmentable implementation for AttributeCore, providing less frequently used methods for Attribute management such as modifyAttrs(), removeAttr and reset()
Returns an object with the configuration properties (and value) for the given attribute. If attrName is not provided, returns the configuration properties for all attributes.
Optional. The attribute name. If not provided, the method will return the configuration for all attributes.
The configuration properties for the given attribute, or all attributes.
Updates the configuration of an attribute which has already been added.
The properties which can be modified through this interface are limited to the following subset of attributes, which can be safely modified after a value has already been set on the attribute:
Note: New attributes cannot be added using this interface. New attributes must be added using addAttr, or an appropriate manner for a class which utilises Attributes (e.g. the ATTRS property in Base).
Removes an attribute from the host object
The name of the attribute to be removed.
Resets the attribute (or all attributes) to its initial value, as long as the attribute is not readOnly, or writeOnce.
Optional. The name of the attribute to reset. If omitted, all attributes are reset.
A reference to the host object.