DOMEventMixin.setOptions method

Adds the set of declaratively specified options (properties and events) to the specified control. If the name of the options property begins with "on", the property value is a function and the control supports addEventListener. This method calls the addEventListener method on the control.
Syntax
domEventMixin.setOptions(control, options);
Parameters
- control
-
Type: Object
The control on which the properties and events are to be applied.
- options
-
Type: Object
The set of options that are specified declaratively.
Return value
This method does not return a value.
Requirements
|
Minimum WinJS version |
WinJS 3.0 |
|---|---|
|
Namespace |
WinJS.UI |
See also