Skip to content

harundemr/hd-js-confirm-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hd-js-confirm-alert

javascript confirm box design and alert design

hdConfirm

Usage

  • hdConfirm()
    hdConfirm()
  • hdConfirm( title, description )
    hdConfirm( "title","description" )
  • hdConfirm( title, description, okCallback )
    hdConfirm( "title", "description", function(){ alert("Deleted") } )
  • hdConfirm( title, description, okCallback, cancelCallback )
    hdConfirm( "title", "description", function(){ alert("Deleted") }, function(){ alert("Cancaled") } )

hdAlert

Success, Warning, Info, Error alert designs

Usage Success Alert

  • hdAlertSuccess()
    hdAlertSuccess()
  • hdAlertSuccess( title, description )
    hdAlertSuccess( "title","description" )
  • hdAlertSuccess( title, description, okCallback )
    hdAlertSuccess( "title", "description", function(){ alert("ok") } )

Usage Info Alert

  • hdAlertInfo()
    hdAlertInfo()
  • hdAlertInfo( title, description )
    hdAlertInfo( "title","description" )
  • hdAlertInfo( title, description, okCallback )
    hdAlertInfo( "title", "description", function(){ alert("ok") } )

Usage Warning Alert

  • hdAlertWarning()
    hdAlertWarning()
  • hdAlertWarning( title, description )
    hdAlertWarning( "title","description" )
  • hdAlertWarning( title, description, okCallback )
    hdAlertWarning( "title", "description", function(){ alert("ok") } )

Usage Error Alert

  • hdAlertError()
    hdAlertError()
  • hdAlertError( title, description )
    hdAlertError( "title","description" )
  • hdAlertError( title, description, okCallback )
    hdAlertError( "title", "description", function(){ alert("ok") } )

Ekran Görüntüsü

About

javascript confirm box design and alert design

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published