UNPKG

carbon-components-angular

Version:
53 lines (49 loc) 1.71 kB
/** * * carbon-angular v0.0.0 | hamburger.component.d.ts * * Copyright 2014, 2024 IBM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { EventEmitter } from "@angular/core"; import { I18n } from "carbon-components-angular/i18n"; import * as i0 from "@angular/core"; /** * A toggle for the side navigation */ export declare class Hamburger { i18n: I18n; /** * Controls the active/selected state for the `Hamburger` menu. */ active: boolean; /** * Set the title text when the hamburger is active */ activeTitle: any; /** * Set the title text when the hamburger is inactive */ inactiveTitle: any; /** * `EventEmitter` to notify parent components of menu click events. */ selected: EventEmitter<Object>; constructor(i18n: I18n); /** * Emit the Hamburger click event upwards. */ doClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration<Hamburger, never>; static ɵcmp: i0.ɵɵComponentDeclaration<Hamburger, "cds-hamburger, ibm-hamburger", never, { "active": "active"; "activeTitle": "activeTitle"; "inactiveTitle": "inactiveTitle"; }, { "selected": "selected"; }, never, never, false>; }