Partager via


QueryCollection.clearStyle method

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 WinJS version

WinJS 1.0

Namespace

WinJS.Utilities

See also

QueryCollection