Skip to content

Latest commit

 

History

History
50 lines (43 loc) · 1.72 KB

README.md

File metadata and controls

50 lines (43 loc) · 1.72 KB

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ü