UNPKG

gentics-ui-core

Version:

This is the common core framework for the Gentics CMS and Mesh UI, and other Angular applications.

22 lines (21 loc) 827 B
import * as i0 from "@angular/core"; /** * An animated CSS hamburger menu icon. Works well with [SideMenu](#/side-menu), but can be used for any kind of menu. * * ```HTML * <gtx-menu-toggle-button [active]="isActive" * (click)="isActive = !isActive"> * </gtx-menu-toggle-button> * ``` * * The colors can be configured by locally defining the following rules: * ```css * gtx-menu-toggle-button .bar { background-color: someColor; } * gtx-menu-toggle-button.active .bar { background-color: someOtherColor; } * ``` */ export declare class MenuToggleButton { active: boolean; static ɵfac: i0.ɵɵFactoryDeclaration<MenuToggleButton, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MenuToggleButton, "gtx-menu-toggle-button", never, { "active": "active"; }, {}, never, never>; }