UNPKG

sb-element

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.1. It is a component library constructed around the SCSS library [Sb-Theming](https://github.com/SeverinBuchser/SbTheming) and supports [Angular Schematics]

19 lines (18 loc) 774 B
import { ElementRef, EventEmitter } from "@angular/core"; import { AbstractConstructor, Constructor } from "./constructor"; import { HasElementRef } from "./has-element-ref"; export interface CanHide { visible: boolean; setVisibleState(isVisible: boolean): void; showStart: EventEmitter<void>; showEnd: EventEmitter<void>; hideStart: EventEmitter<void>; hideEnd: EventEmitter<void>; transitionDuration: number; transitionElement?: ElementRef; defaultVisiblity?: boolean; wait(time: number): Promise<void>; } declare type CanHideCtor = Constructor<CanHide> & AbstractConstructor<CanHide>; export declare function mixinHide<T extends AbstractConstructor<HasElementRef>>(core: T, defaultVisiblity?: boolean): CanHideCtor & T; export {};