Global

Global

Type Definitions

actionActiveCallback (event, switch)

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).

actionCallback (event, button)

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).

actionCallback (event, switch)

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).

afterActionCallback (event, button)

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).

afterActionCallback (event, switch)

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).

beforeActionCallback (event, button)

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).

beforeActionCallback (event, switch)

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).

onCompleteCallback (flippable)

Callback for the flippable onComplete function.

Name Type Description
flippable Flippable

A reference to the flippable (also this refers to the flippable).

onCompleteCallback (event, slider)

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).

onStartCallback (flippable)

Callback for the flippable onStart function.

Name Type Description
flippable Flippable

A reference to the flippable (also this refers to the flippable).

onStartCallback (event, slider)

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).

onUpdateCallback (flippable)

Callback for the flippable onUpdate function.

Name Type Description
flippable Flippable

A reference to the flippable (also this refers to the flippable).

onUpdateCallback (event, slider)

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).