Windows-Apps
Inhaltsverzeichnis reduzieren
Inhaltsverzeichnis erweitern
EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

WinJS.UI.scopedSelect function

Applies to Windows and Windows Phone

Walks the DOM tree from the given element to the root of the document. Whenever a selector scope is encountered, this method performs a lookup within that scope for the specified selector string. The first matching element is returned.

Syntax


var htmlElement = WinJS.UI.scopedSelect(selector, element);

Parameters

selector

Type: String

The selector string.

element

Type: HTMLElement

The element to begin walking to the root of the document from.

Return value

Type: HTMLElement

The target element, if found.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

 

 

Anzeigen:
© 2017 Microsoft