System.UI.applyChanges¶
Description¶
Batch apply control changes.
Grammar¶
System.UI.applyChanges(controls: Array<IControl>, triggerLoadedEvent?:boolean): void
-
Parameter
controls - Controls that need to apply changes
triggerLoadedEvent - Whether to trigger the loaded event, This field is optional and defaults to false.
-
Return
Nothing
Code Example¶
When the boiler temperature is too high, display the alarm message on label1 and show the cooling message on label2.