Class s7sdk.event.ControlComponentEvent
A ComponentUpdatedEvent is dispatched by components when either setCSS or setModifier is called on a component.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
s7sdk.event.ControlComponentEvent(type, data, bubbles)
|
| Field Attributes | Field Name and Description |
|---|---|
| <static> |
s7sdk.event.ControlComponentEvent.NOTF_CONTROLCOMPONENT_CSSUPDATED
Defines the value of the
type property for a ComponentUpdatedEvent to report when setCSS has been called on component. |
| <static> |
s7sdk.event.ControlComponentEvent.NOTF_CONTROLCOMPONENT_MODIFIERUPDATED
Defines the value of the
type property for a ComponentUpdatedEvent to report setModifier has been called on component. |
Class Detail
s7sdk.event.ControlComponentEvent(type, data, bubbles)
- Parameters:
- {String} type
- Defines the value of the type property.
- {Object} data
- defines the component id, CSS property and value when issuing a
NOTF_COMPONENT_CSSUPDATEDevent or the old value, new value and property when issuing aNOTF_COMPONENT_MODIFIERUPDATED - {Boolean} bubbles
- Defines whether the event bubbles.
Field Detail
<static>
s7sdk.event.ControlComponentEvent.NOTF_CONTROLCOMPONENT_CSSUPDATED
Defines the value of the
type property for a ComponentUpdatedEvent to report when setCSS has been called on component.
<static>
s7sdk.event.ControlComponentEvent.NOTF_CONTROLCOMPONENT_MODIFIERUPDATED
Defines the value of the
type property for a ComponentUpdatedEvent to report setModifier has been called on component.