carbon-components-angular
Version:
Next generation components
52 lines (48 loc) • 1.85 kB
TypeScript
/**
*
* carbon-angular v0.0.0 | header-action.component.d.ts
*
* Copyright 2014, 2025 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, TemplateRef } from "@angular/core";
import { BaseIconButton } from "carbon-components-angular/button";
import * as i0 from "@angular/core";
/**
* Contained by `HeaderGlobal`. Generally used to trigger `Panel`s
*/
export declare class HeaderAction extends BaseIconButton {
/**
* Tooltip content to show on mouseenter
*/
description: string | TemplateRef<any>;
/**
* Sets the aria label on the nav element.
*/
ariaLabel: string;
/**
* Toggles the active state. May be used to toggle a `Panel`s active state.
*/
active: boolean;
/**
* "Change" emitter to allow double binding to the `active` Input.
*/
activeChange: EventEmitter<boolean>;
/**
* Emits when the action has been clicked.
*/
selected: EventEmitter<boolean>;
onClick(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderAction, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderAction, "cds-header-action, ibm-header-action", never, { "description": "description"; "ariaLabel": "ariaLabel"; "active": "active"; }, { "activeChange": "activeChange"; "selected": "selected"; }, never, ["*"], false>;
}