CLASSES
TagsA - Z

EventState

Description

class EventState

A class serves as a medium between the observable and its observers

Constructor

new EventState(mask, skipNextObservers)

If the callback of a given Observer set skipNextObservers to true the following observers will be ignored

Parameters

Name Type Description
mask number
optional skipNextObservers boolean

Members

skipNextObservers : boolean

An Observer can set this property to true to prevent subsequent observers of being notified

mask : number

Get the mask value that were used to trigger the event corresponding to this EventState object

Methods

initalize(mask, skipNextObservers) → EventState

Parameters

Name Type Description
mask number
optional skipNextObservers boolean