共用方式為


QueryCollection.removeClass method

Removes the specified class from all the elements in the collection.

Syntax

var queryCollection = queryCollection.removeClass(name);

Parameters

  • name
    Type: string

    The name of the class to be removed.

Return value

Type: QueryCollection

his QueryCollection object.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities

See also

QueryCollection