UNPKG

motionkit-romjah

Version:

A collection of reusable micro-animations for modern web applications. [Live Storybook demo](https://motionkit-storybook.vercel.app/)

14 lines (13 loc) 396 B
import { NotificationOptions } from '../types'; export declare class Notification { private element; private options; private container; constructor(element: HTMLElement, options?: Partial<NotificationOptions>); private createContainer; private getTypeStyles; show(message: string): Animation; private getInitialTransform; hide(): void; destroy(): void; }