@engie-group/fluid-design-system
Version:
The Fluid Design System is ENGIE’s open-source library to create, build and deliver ENGIE digital services in a more efficient way.
30 lines (29 loc) • 1.01 kB
TypeScript
/**
* --------------------------------------------------------------------------
* NJ : Navbar.ts
* --------------------------------------------------------------------------
*/
import AbstractComponent from '../../globals/ts/abstract-component';
export default class Navbar extends AbstractComponent {
static readonly NAME = "nj-navbar";
protected static readonly DATA_KEY = "nj.navbar";
static CLASS_NAME: {
shownCollapse: string;
};
static SELECTOR: {
default: string;
};
private collapseSearchBarInstances;
constructor(element: HTMLElement);
dispose(): void;
handleCollapseShow(): void;
handleCollapseHide(): void;
static getInstance(element: HTMLElement): Navbar;
static init(options?: {}): Navbar[];
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
private registerEvents;
}