A simple wrapper for TJs dialog and bootstraps modal.
$ component install mikanda/yes-no-dialog
Creates a new instance of YesNoDialog.
On click on a button the callback saveFn
or cancelFn
is called.
Via lang
you can change the default language like
{
save: 'Speichern',
cancel: 'Abbrechen'
}
LGPLv3