Skip to content

mul14/cutealert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cute Alert

Status: in development

Just another alert.

Usage

const cuteAlert = new CuteAlert

cuteAlert.title = 'Warning'
cuteAlert.text = 'Are you sure want to restart the system?'

cuteAlert.okButton('Yes', () => {
  alert('Ok button has been clicked')
})

cuteAlert.cancelButton('No', () => {
  alert('Cancel button has been clicked')
})

cuteAlert.addButton('Remind me', () => {
  alert('New button has been clicked')
})

cuteAlert.show()

cuteAlert.hide()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published