UNPKG

@addapptables/notifier

Version:
17 lines (16 loc) 766 B
import { OnDestroy } from '@angular/core'; import { NotifierRef } from '../notifier-ref'; import { Strategy } from './strategy'; export declare abstract class AbstractStrategy implements Strategy, OnDestroy { private _document; notifiers: NotifierRef[]; margin: number; maxNotifiers: number; constructor(_document: HTMLDocument); newNotifier(notifierRef: NotifierRef): void; protected abstract getStyleNewNotifier(notifierRef: NotifierRef): any; protected abstract getStyleNotifierPosition(divNotifier: HTMLDivElement, clientHeight: number): any; private deletePortal; protected abstract getStyleDeleteNotifier(elementChange: HTMLDivElement, clientHeightElementDelete: number): any; ngOnDestroy(): void; }