Defines a SetGlobal action component.
This component helps storing some data in the global application wide space.
In most apps, it is useful to store some global app-wide properties that can be retrieved from any page. You can use the SetGlobal action for that.
If you want to retrieve and use the value of a stored property (for example myProperty) to be displayed on a page, source a Text component in TS mode to :
this.global?.myProperty
Name | Description |
---|---|
Property | Name of the property to set. |
Value | Value of the property, can be a simple string or any Object. |
Comment | Describes the object comment to include in the documentation report. This property generally contains an explanation about the object. |
Is active | Defines whether the component is active. |