StateChangedTrigger

Triggers. StateChangedTrigger

A trigger "stateChanged" that listens for property state changes

Constructor

new StateChangedTrigger()

Source:
Examples
//Triggers the stateChanged event when myProperty has changed, only the first concept that has the property is checked.
{
    "stateChanged": "myProperty"
}
//Triggers the stateChanged event when any property on myConcept changes
{
    "stateChanged": "myConcept"
}
//Triggers the stateChanged event when any property on myConcept changes, or if myProperty changes, on the first concept it was found on
{
    "stateChanged": ["myConcept", "myProperty"]
}
//Triggers the stateChanged event when property myProperty changes on myConcept
{
    "stateChanged": {"myConcept": "myProperty"}
}
//Triggers the stateChanged event when property myProperty changes on myConcept
{
    "stateChanged": {
        "concept": "myConcept",
        "property": "myProperty"
    }
}
//Triggers the stateChanged event when property myProperty changes
{
    "stateChanged": {
        "property": "myProperty"
    }
}
//Triggers the stateChanged event when a property on myConcept changes
{
    "stateChanged": {
        "concept": "myConcept"
    }
}