Поделиться через


QueryCollection.getAttribute method

Gets an attribute value from the first element in the collection.

Syntax

var object = queryCollection.getAttribute(name);

Parameters

  • name
    Type: string

    The name of the attribute.

Return value

Type: Object

The value of the attribute.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities

See also

QueryCollection