AlertX (JavaScript Alert)


INSTALL

for install AlertX just need add cdnjs to head your document.

<script src="https://cdn.jsdelivr.net/gh/thephibonacci/[email protected]/src/AlertX.js"></script>

USE

Step 1:

var Alert = new AlertX()

Step 2:

Alert.option({
type:"",
position:"",
status:"",
theme:""
})

Step 3:

Alert.exec(text,title,time)

Quick doc’s

Theme’s:

  • dark
  • light

Position’s:

  • topLeft
  • centerLeft
  • bottomLeft
  • topCenter
  • center
  • bottomCenter
  • topRight
  • centerRight
  • bottomRight

Type’s:

  • alert
  • alertx
  • alertz

Status’s:

  • danger
  • warning
  • success
  • primary





GitHub

View Github