1.0.22 • Published 4 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
4 years ago
1.0.20
4 years ago
1.0.19
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.12
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.2
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago