iziToast
iziToast copied to clipboard
button class with bootstrap ?
hi, it possible to merge class from bootstrap?
createButtonDataEditor = function(inObject){
return [['<button class="btn btn-outline-success btn-sm col-md-6">Apply</button>', function (instance, toast) {
instance.hide({transitionOut: 'flipOutX',
onClosing: function(instance, toast, inObject){ iziT_close_dataEditor(inObject) }
}, toast, inObject);
}, true],
};
i can use pure html to make it , but button will not get your animation. bottom its your button class, and upper it bootstrap button class.
<button type="button" class="btn btn-outline-success btn-sm col-md-6">Apply</button>
<button type="button" class="btn btn-outline-warning btn-sm">ApplyToAll</button>
<button type="button" class="btn btn-outline-danger btn-sm">Cancel</button>
this it the bouton style am target