Terminates the functioning of the custom attribute handler. This method is invoked either when a new rendering of the element doesn't have the attribute anymore or if the element is removed. Although this method is optional, most handlers will need to implement it to properly cleanup any resources (e.g. event handlers) to avoid leaks.
True if the element is being removed and false if the element is being updated and the attribute is no longer provided. If the handler adds any event listeners to the element, then it has to remove them on update but doen't have to do it on element removal.
Updates an existing custom attribute with the new value.
New value of the custom attribute.
True if changes were made and false otherwise.
Generated using TypeDoc
The ICustomAttributeHandler interface represents an ability to handle custom properties that can be applied to intrinsic (HTML or SVG) elements.