1.1.3 • Published 2 years ago

toastjs-tiny v1.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

A tiny Toast

npm version npm npm All Contributors

Live Demo

Installation

NPM

To install the latest stable version:

npm install --save toastjs-tiny

or

yarn add toastjs-tiny

Basic usage:

@import 'toastjs-tiny/dist/styles.css';
interface IToast {
  text: string;
  autoClose?: number;
  position?: 'top-center' | 'top-right' | 'bottom-center' | 'bottom-right';
  onClose?: () => {};
  canClose?: boolean;
  showProgress?: boolean;
  pauseOnHover?: boolean;
  pauseOnFocusLoss?: boolean;
  type?: 'success' | 'error';
}

new ToastjsTiny(options: IToast);

new ToastjsTiny({
  text: 'Update new password is successfullyUpdate new password is successfullyUpdate new password is successfullyUpdate new password is successfully',
  type: 'error',
});
1.1.3

2 years ago

1.1.2

2 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago