Documentation
Reference
2.1.55 (current version)
collection
interactivityModel
Interfaces

IFreezable

Interface for an object with a state change event that can be disabled. Object that implements IFreezable it can function in one of the following modes:

Constructor | Fields | Events | Methods

Constructor

IFreezable()

Fields

NameTypeDescription
eventsIEventManager

Event manager for the object.

Events

NameDescription
change

Change to the internal state of the object.

Methods

NameReturnsDescription
freeze()

IFreezable

Switches the object to "frozen" mode.

isFrozen()

Boolean

Returns true if the object is in "frozen" mode, otherwise false.

unfreeze()

IFreezable

Switches the object to active mode.

Fields details

events

{IEventManager} events

Event manager for the object.

Events details

change

Change to the internal state of the object.

Methods details

freeze

{IFreezable} freeze()

Switches the object to "frozen" mode.

Returns self-reference.

isFrozen

{Boolean} isFrozen()

Returns true if the object is in "frozen" mode, otherwise false.

unfreeze

{IFreezable} unfreeze()

Switches the object to active mode.

Returns self-reference.