UNPKG

@progress/kendo-angular-navigation

Version:

Kendo UI Navigation for Angular

15 lines (14 loc) 1.08 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Specifies the positionMode of the AppBar * ([see example](slug:positioning_appbar#toc-position-mode)). * * * The possible values are: * * `static` (Default)—Does not position the AppBar in any special way. It is positioned according to the normal flow of the page. * * `sticky`—Positions the AppBar based on the user's scroll position. A sticky element toggles between static and fixed CSS [`position`](https://developer.mozilla.org/en-US/docs/Web/CSS/position) property, depending on the scroll position. * * `fixed`—Positions the AppBar relative to the viewport. It always stays in the same place even if the page is scrolled. */ export type AppBarPositionMode = 'static' | 'sticky' | 'fixed';