An IntuifaceElement
represents the base of any kind of element that compose an Intuiface experience: asset, collection, interface asset, layer, scene, experience...
All this elements extends IntuifaceElement
and use the appropriate decorator to make it usable in the experience, such as @Asset
or @Collection
.
-
↳
IntuifaceElement
- notifyPropertyChanged
- subscribeToPropertiesChanges
- unsubscribeFromPropertiesChanges
- subscribeToPropertyChanged
- unsubscribeFromPropertyChanged
- initialize
- dispose
• container: ElementContainer
Container of this element
• parent: IntuifaceElement
Parent of this element.
• name: string
= ''
Name of the element.
▸ notifyPropertyChanged(propertyKey
, value
): void
Function to call when a property in the element changed to notify listeners
Name | Type |
---|---|
propertyKey |
string |
value |
any |
void
Watchable.notifyPropertyChanged
▸ subscribeToPropertiesChanges(listener
): void
Function to subscribe to properties changes of the element
Name | Type |
---|---|
listener |
PropertiesListener |
void
Watchable.subscribeToPropertiesChanges
▸ unsubscribeFromPropertiesChanges(listener
): void
function to unsubscribe from properties changes of the element
Name | Type |
---|---|
listener |
PropertiesListener |
void
Watchable.unsubscribeFromPropertiesChanges
▸ subscribeToPropertyChanged(property
, listener
): void
function to subscribe to one property changed
Name | Type |
---|---|
property |
string |
listener |
PropertyListener |
void
Watchable.subscribeToPropertyChanged
▸ unsubscribeFromPropertyChanged(property
, listener
): void
function to unsubscribe from one property changed
Name | Type |
---|---|
property |
string |
listener |
PropertyListener |
void
Watchable.unsubscribeFromPropertyChanged
▸ initialize(configuration?
): void
Initialize default value of each property.
Name | Type | Description |
---|---|---|
configuration? |
any |
: configuration |
void
▸ dispose(): void
Dispose the element.
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/