carbon-components-angular
Version:
Next generation components
54 lines (50 loc) • 2.04 kB
TypeScript
/**
*
* carbon-angular v0.0.0 | toggletip.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 { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy, Renderer2 } from "@angular/core";
import { PopoverContainer } from "carbon-components-angular/popover";
import * as i0 from "@angular/core";
/**
* Get started with importing the module:
*
* ```typescript
* import { ToggletipModule } from 'carbon-components-angular';
* ```
*
* [See demo](../../?path=/story/components-toggletip--basic)
*/
export declare class Toggletip extends PopoverContainer implements AfterViewInit, OnDestroy {
protected hostElement: ElementRef;
protected ngZone: NgZone;
protected renderer: Renderer2;
protected changeDetectorRef: ChangeDetectorRef;
static toggletipCounter: number;
id: string;
toggletipClass: boolean;
isOpen: boolean;
btn: ElementRef;
documentClick: any;
private subscription;
constructor(hostElement: ElementRef, ngZone: NgZone, renderer: Renderer2, changeDetectorRef: ChangeDetectorRef);
ngAfterViewInit(): void;
hostkeys(event: KeyboardEvent): void;
handleFocusOut(event: any): void;
ngOnDestroy(): void;
private handleExpansion;
static ɵfac: i0.ɵɵFactoryDeclaration<Toggletip, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<Toggletip, "cds-toggletip, ibm-toggletip", never, { "id": "id"; "isOpen": "isOpen"; }, {}, ["btn"], ["[cdsToggletipButton]", "[cdsToggletipContent]"], false>;
}