Class: NetworkStatusChangeEvent

NetworkStatusChangeEvent

new NetworkStatusChangeEvent(networkStatus)

Class of events raised when the network state of a device changes (e.g. it goes offline).
Parameters:
Name Type Description
networkStatus Integer The new network status.
Source:

Extends

Members

(static, constant) NETWORK_STATUS_OFFLINE

Device is offline.
Source:

(static, constant) NETWORK_STATUS_ONLINE

Device is online.
Source:

Methods

isDefaultPrevented()

Check to see if the default handler has been prevented.
Inherited From:
Source:
Returns:
Boolean true if the default handler has been prevented.

isPropagationStopped()

Check to see if the propagation of this event has been stopped.
Inherited From:
Source:
Returns:
Boolean true if the event has been stopped, otherwise Boolean false.

preventDefault()

Prevent any default handler being called for this event.
Inherited From:
Source:

stopPropagation()

Stop propagation of the event through the widget tree.
Inherited From:
Source: