@ynmstudio/utils
Version:
YNM Utilities for Angular
25 lines (22 loc) • 1.13 kB
TypeScript
import * as _angular_core from '@angular/core';
import { OnChanges, ElementRef, SimpleChanges } from '@angular/core';
import * as _angular_animations from '@angular/animations';
declare const smoothHeight: _angular_animations.AnimationTriggerMetadata;
declare const showHide: _angular_animations.AnimationTriggerMetadata;
declare class SmoothHeightDirective implements OnChanges {
smoothHeight: _angular_core.InputSignal<unknown>;
pulse: _angular_core.WritableSignal<boolean>;
startHeight: _angular_core.WritableSignal<number>;
host: ElementRef<any>;
get grow(): {
value: boolean;
params: {
startHeight: number;
};
};
setStartHeight(): void;
ngOnChanges(changes: SimpleChanges): void;
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SmoothHeightDirective, never>;
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SmoothHeightDirective, "[smoothHeight]", never, { "smoothHeight": { "alias": "smoothHeight"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
}
export { SmoothHeightDirective, showHide, smoothHeight };