QueryCollection.clearStyle method

Applies to Windows and Windows Phone

Clears the specified style property for all the elements in the collection.

Syntax


var queryCollection = queryCollection.clearStyle(name);

Parameters

name

Type: string

The name of the style property to be cleared.

Return value

Type: QueryCollection

This QueryCollection object.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Utilities

Library

Winjs.js

See also

QueryCollection

 

 

Show:
© 2015 Microsoft