UNPKG

ngx-french-toast

Version:

<p align="center"> <img src="./projects/ngx-french-toast/logo.png" alt="ngx-french-toast logo" width="200px" /> </p>

36 lines (35 loc) 1.42 kB
import { AfterViewInit, ComponentRef, OnInit, QueryList } from '@angular/core'; import { ToastModel } from '../../interfaces/interfaces'; import { ToastComponent } from './toast/toast.component'; import { ToastService } from '../../french-toast.service'; import { ToastConfig } from '../../interfaces/interfaces'; import { ToastPosition } from '../../enums/enums'; import * as i0 from "@angular/core"; export declare class ToastsComponent implements OnInit, AfterViewInit { private toastService; private config; toasts: ToastModel[]; toastsComponents: QueryList<ToastComponent>; position: ToastPosition; bottomRight: ToastPosition; bottomLeft: ToastPosition; topRight: ToastPosition; topLeft: ToastPosition; fontFamily: string; titleFontSize: string; contentFontSize: string; style: string; componentRef: ComponentRef<ToastsComponent>; private destroyRef; constructor(toastService: ToastService, config: ToastConfig); ngOnInit(): void; ngAfterViewInit(): void; getStyles(): string; getToasts(): void; listenForToasts(): void; listenForDestroyAllToasts(): void; listenForDestroyToast(): void; control(toast: ToastModel): void; static ɵfac: i0.ɵɵFactoryDeclaration<ToastsComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ToastsComponent, "french-toast", never, {}, {}, never, never, true, never>; }