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. setControl calls addEventListener on the control.
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 supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Namespace |
WinJS.UI |
|
Library |
|
Build date: 12/5/2012
