Share via


AppBar.sticky property

Applies to Windows only

Gets or sets a value that indicates whether the app bar can be light dismissed (hidden when the user touches outside of the app bar).

Syntax

var sticky = appBar.sticky;
appBar.sticky = sticky;

Property value

Type: Boolean

true if the AppBar is sticky and does not support light dismiss; otherwise false.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Winjs.js

See also

AppBar

AppBarCommand

AppBarIcon

BackButton

NavBar

Your first app - Part 3: PageControl objects and navigation

Navigating between pages (HTML)

Adding app bars

Adding nav bars

HTML AppBar control sample

HTML NavBar control sample

Navigation and navigation history sample

Designers

Command patterns

Navigation patterns

Guidelines for app bars

Bottom app bar

Top app bar