UNPKG

2.09 kBSource Map (JSON)View Raw
1{"version":3,"file":"collapse.directive.d.ts","sources":["collapse.directive.d.ts"],"names":[],"mappings":"AAAA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA","sourcesContent":["import { AnimationBuilder } from '@angular/animations';\nimport { AfterViewChecked, ElementRef, EventEmitter, Renderer2 } from '@angular/core';\nexport declare class CollapseDirective implements AfterViewChecked {\n private _el;\n private _renderer;\n /** This event fires as soon as content collapses */\n collapsed: EventEmitter<CollapseDirective>;\n /** This event fires when collapsing is started */\n collapses: EventEmitter<CollapseDirective>;\n /** This event fires as soon as content becomes visible */\n expanded: EventEmitter<CollapseDirective>;\n /** This event fires when expansion is started */\n expands: EventEmitter<CollapseDirective>;\n isExpanded: boolean;\n collapseNewValue: boolean;\n isCollapsed: boolean;\n isCollapse: boolean;\n isCollapsing: boolean;\n set display(value: string);\n /** turn on/off animation */\n isAnimated: boolean;\n /** A flag indicating visibility of content (shown or hidden) */\n set collapse(value: boolean);\n get collapse(): boolean;\n private _display;\n private _isAnimationDone?;\n private _player?;\n private _stylesLoaded;\n private _COLLAPSE_ACTION_NAME;\n private _EXPAND_ACTION_NAME;\n private readonly _factoryCollapseAnimation;\n private readonly _factoryExpandAnimation;\n constructor(_el: ElementRef, _renderer: Renderer2, _builder: AnimationBuilder);\n ngAfterViewChecked(): void;\n /** allows to manually toggle content visibility */\n toggle(): void;\n /** allows to manually hide content */\n hide(): void;\n /** allows to manually show collapsed content */\n show(): void;\n animationRun(isAnimated: boolean, action: string): (callback: () => void) => void;\n}\n"]}
\No newline at end of file