notify-bajs
1.0.22 • Public • Published
npm install notify-bajs
import NotifyBaJS from "notify-bajs";
NotifyBaJS({
type: "success",
title: "Notify BaJS",
content: "Hello world"
});
-
placement
: (string) - Position of notify, can be one of top-left
top-right
bottom-left
bottom-right
(default: top-right
)
-
classContainer
: (string) - Customized CSS class
-
type
: (string) - success
info
warning
danger
-
duration
: (number) - Time in millisecond before notify is closed (default: 3000)
-
width
: (number) - max-width css (default: 300)
-
delay
: (number) - Delay in millisecond, before tooltip is show
-
top
: (number) - Distance from the top of the viewport (unit: pixels)
-
closable
: (boolean) - Whether a close (x) button is visible on top right of the modal dialog or not
Package Sidebar
Install
Weekly Downloads