Type Definitions
-
Callback for the switch action.
Name Type Description event
object The event object.
switch
Switch A reference to the switch (also this refers to the switch).
-
Callback for the button action.
Name Type Description event
object The event object.
button
Button A reference to the button (also this refers to the button).
-
Callback for the switch action.
Name Type Description event
object The event object.
switch
Switch A reference to the switch (also this refers to the switch).
-
Callback for the button afterAction.
Name Type Description event
object The event object.
button
Button A reference to the button (also this refers to the button).
-
Callback for the switch afterAction.
Name Type Description event
object The event object.
switch
Switch A reference to the switch (also this refers to the switch).
-
Callback for the button beforeAction.
Name Type Description event
object The event object.
button
Button A reference to the button (also this refers to the button).
-
Callback for the switch beforeAction.
Name Type Description event
object The event object.
switch
Switch A reference to the switch (also this refers to the switch).
-
Callback for the flippable onComplete function.
Name Type Description flippable
Flippable A reference to the flippable (also this refers to the flippable).
-
Callback for the slider action onComplete.
Name Type Description event
object The event object.
slider
Slider A reference to the slider (also this refers to the slider).
-
Callback for the flippable onStart function.
Name Type Description flippable
Flippable A reference to the flippable (also this refers to the flippable).
-
Callback for the slider action onStart.
Name Type Description event
object The event object.
slider
Slider A reference to the slider (also this refers to the slider).
-
Callback for the flippable onUpdate function.
Name Type Description flippable
Flippable A reference to the flippable (also this refers to the flippable).
-
Callback for the slider action onUpdate.
Name Type Description event
object The event object.
slider
Slider A reference to the slider (also this refers to the slider).