cfc-ds
Version:
Design System do Conselho Federal de Contabilidade baseado no govbr-ds
38 lines (37 loc) • 1.67 kB
TypeScript
import { ElementRef, OnInit, AfterViewInit, EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class CollapseComponent implements OnInit, AfterViewInit {
collapseDiv: ElementRef;
title: string;
expanded: boolean;
direction: 'down' | 'up' | 'right' | 'left';
icon: string;
customClass: string;
heightLimit: number | null;
indentLevel: number;
buttonOnly: boolean;
stateChange: EventEmitter<boolean>;
isExpanded: boolean;
contentHeight: string;
get chevronIcon(): string;
get indentStyle(): {
paddingLeft: string;
} | {
paddingLeft?: undefined;
};
get contentStyle(): {
maxHeight: string;
overflowY: string;
} | {
maxHeight?: undefined;
overflowY?: undefined;
};
constructor();
ngOnInit(): void;
ngAfterViewInit(): void;
toggle(): void;
open(): void;
close(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<CollapseComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CollapseComponent, "cfc-collapse", never, { "title": { "alias": "title"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "heightLimit": { "alias": "heightLimit"; "required": false; }; "indentLevel": { "alias": "indentLevel"; "required": false; }; "buttonOnly": { "alias": "buttonOnly"; "required": false; }; }, { "stateChange": "stateChange"; }, never, ["*", "[collapse-title]"], false, never>;
}