@microsoft/fast-element > Controller > onAttributeChangedCallback
Controller.onAttributeChangedCallback() method
Runs the attribute changed callback for the associated element.
Signature:onAttributeChangedCallback(name: string, oldValue: string, newValue: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
name | string | The name of the attribute that changed. |
oldValue | string | The previous value of the attribute. |
newValue | string | The new value of the attribute. |
void