Class that allow watching property changes on inheriting instance
-
Watchable
- notifyPropertyChanged
- subscribeToPropertiesChanges
- unsubscribeFromPropertiesChanges
- subscribeToPropertyChanged
- unsubscribeFromPropertyChanged
- dispose
▸ notifyPropertyChanged(propertyKey
, value
): void
Function to call when a property in the element changed to notify listeners
Name | Type |
---|---|
propertyKey |
string |
value |
any |
void
▸ subscribeToPropertiesChanges(listener
): void
Function to subscribe to properties changes of the element
Name | Type |
---|---|
listener |
PropertiesListener |
void
▸ unsubscribeFromPropertiesChanges(listener
): void
function to unsubscribe from properties changes of the element
Name | Type |
---|---|
listener |
PropertiesListener |
void
▸ subscribeToPropertyChanged(property
, listener
): void
function to subscribe to one property changed
Name | Type |
---|---|
property |
string |
listener |
PropertyListener |
void
▸ unsubscribeFromPropertyChanged(property
, listener
): void
function to unsubscribe from one property changed
Name | Type |
---|---|
property |
string |
listener |
PropertyListener |
void
▸ dispose(): void
Dispose watchable.
void
Found a problem, a bug? Or need some help?
Please do not create an issue in Github! Ask us via our Support page : https://support.intuiface.com/