Skip to content

First Release v0.1.0

Latest
Compare
Choose a tag to compare
@Shailu4u Shailu4u released this 20 Feb 15:10
· 4 commits to master since this release

KnockoutJS Toaster is a custom element toasts notification library built using knockout.js custom components.

Usage

  • "toasts: toaster.toasts" is the mandatory param in params attribute of toast-container custom element.
  • Using toaster object methods in JS, you can add different toasts which are automatically supplied to toast container.
  • Override default options on toast-container custom element which are applicable to all toasts in the page.
  • If you want, you can override particular option only for respective toast in javaScript using global toaster object only then that particular option is applicable to that respective toast.