mois3x / sweet-alert-rails-confirm

A Rails confirm replacement with SweetAlert
MIT License
73 stars 50 forks source link

ADD new option function #21

Closed adrianoresende closed 9 years ago

adrianoresende commented 9 years ago

example:

:data  => {
    :confirm  => 'Are you sure?',
    :function => 'removeItem',
}
mois3x commented 9 years ago

Thanks