Toastr

Toastr is a short-lived pop up that can be configured to show anywhere on a page and then automatically disappear after a configurable amount of time.

Installation

The Toastr for WireBootstrap library is located in wire-toastr.js. This and other other related files can be installed from the NPM package registry at@wirebootstrap/wire-toastr.

npm install @wirebootstrap/wire-toastr

Toastr for WireBootstrap will load toastr.min.js from a CDN if it's not found on the page.

Toastr for WireBootstrap will load toastr.min.css from a CDN if not found on the page.

Class

Call wire.toastr directly to open the Toastr for WireBootstrap popup.

 wire.toastr({
      message: "Hello"
  });

Last updated