Class: WidgetHandle

WidgetHandle

This Class contains name and id of a Widget that should be subscribed to.

new WidgetHandle()

Requires

  • module:easejs

Members

privateidstring

Id of the Widget that should be subscribed to.

privatenamestring

Name of the Widget that should be subscribed to.

Methods

equals(_widgetHandle){boolean}

Compare the specified WidgetHandle with this instance
Name Type Description
_widgetHandle WidgetHandle WidgetHandle that should be compared

getId(){string}

Returns the id of the Widget that should be subscribed to.

getName(){string}

Returns the name of the Widget that should be subscribed to.
Sets the id of the Widget that should be subscribed to.
Name Type Description
_id string id of the Widget that should be subscribed to
Sets the name of the Widget that should be subscribed to.
Name Type Description
_name string name of the Widget that should be subscribed to
Builder for variable id
Name Type Description
_id string
Builder for variable name
Name Type Description
_name string