UNPKG

@taiga-ui/core

Version:

Core library for creating Angular components and applications using Taiga UI

31 lines (30 loc) 1.38 kB
import { type NgIfContext } from '@angular/common'; import { TemplateRef } from '@angular/core'; import * as i0 from "@angular/core"; /** * An event indicating that async data for expand has finished loading. * Dispatch to finish loading states for {@link TuiExpandComponent}. */ export declare const TUI_EXPAND_LOADED = "tui-expand-loaded"; /** * @deprecated use {@link TuiExpand} from @taiga-ui/experimental */ export declare class TuiExpandComponent { private readonly contentWrapper?; private readonly cdr; private readonly destroyRef; private state; protected content: TemplateRef<NgIfContext<boolean>> | null; protected expanded: boolean | null; async: boolean; set expandedSetter(expanded: boolean | null); get contentVisible(): boolean; protected get overflow(): boolean; protected get loading(): boolean; protected get height(): number | null; protected onTransitionEnd({ propertyName, pseudoElement }: TransitionEvent): void; protected onExpandLoaded(event: Event): void; private retrigger; static ɵfac: i0.ɵɵFactoryDeclaration<TuiExpandComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TuiExpandComponent, "tui-expand", never, { "async": { "alias": "async"; "required": false; }; "expandedSetter": { "alias": "expanded"; "required": false; }; }, {}, ["content"], ["*"], true, never>; }