The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
WinJS.UI.setOptions function

Adds the set of declaratively specified options (properties and events) to the specified control. If name of the options property begins with "on", the property value is a function and the control supports addEventListener.
Syntax
WinJS.UI.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 function does not return a value.
Requirements
|
Minimum WinJS version |
WinJS 3.0 |
|---|---|
|
Namespace |
WinJS.UI |
Show: