1.0.22 • Published 5 years ago
notify-bajs v1.0.22
📦 Notify BaJS
Installation
npm install notify-bajs
Usage
import NotifyBaJS from "notify-bajs";
NotifyBaJS({
type: "success",
title: "Notify BaJS",
content: "Hello world"
});
Optional parameters
placement
: (string) - Position of notify, can be one oftop-left
top-right
bottom-left
bottom-right
(default:top-right
)classContainer
: (string) - Customized CSS classtype
: (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 showtop
: (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
1.0.22
5 years ago
1.0.20
5 years ago
1.0.19
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.12
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.2
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago