QueryCollection.control method

This topic has not yet been rated - Rate this topic

Creates controls that are attached to the elements in this QueryCollection, if the ctor parameter is a function, or configures the controls that are attached to the elements in this QueryCollection, if the ctor parameter is an object.

Syntax


var queryCollection = queryCollection.control(ctor, options);

Parameters

ctor

Type:

If this parameter is a function, it is a constructor function that is used to create controls to attach to the elements. If it is an object, it is the set of options passed to the controls.

options

Type: Object

The options passed to the newly-created controls.

Return value

Type: QueryCollection

This QueryCollection object.

Requirements

Namespace

WinJS.Utilities

Library

Base.js

See also

QueryCollection

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.