SearchBox.element property

Applies to Windows only

Gets the DOM element that hosts the SearchBox.

Syntax


<div 
    data-win-control="WinJS.UI.SearchBox" 
    data-win-options="{ element : value}" >
</div>


var element = searchBox.element;
searchBox.element = element;

Property value

Type: HTMLElement

The DOM element that hosts the SearchBox.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

SearchBox

 

 

Show:
© 2015 Microsoft