Windows Dev Center

Développer Réduire

WinJS.UI.setOptions function

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

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 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

Library

Ui.js

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2015 Microsoft