Class: MiniSignalBinding

MiniSignalBinding

Listener function and context pack.


new MiniSignalBinding(fn [, once] [, thisArg])

MiniSignalBinding constructor.

Parameters:
Name Type Argument Default Description
fn function

Event handler to be called.

once Boolean <optional>
false

Should this listener be removed after dispatch

thisArg Mixed <optional>

The context of the callback function.

Source:

Methods


detach()

Disconnect this signal binding

Source:
Returns:

True if succeed, otherwise false

Type
Boolean