j-Approve
- Szingapúr
- A Bootstrap munkája
- Támogatja a sötét módot
- Modalitás
konfiguráció:
cancel{String} a törlés gomb címke (default:Cancel)- NEW:
style{Number} változó stílus (támogatott stílus1(default) és2)
módszerek:
component.show(message, approve_button_label, [cancel_button_label], callback, [callback_cancel])
Használat:
SETTER('approve/show', message, 'Yes', function() {
});Egyszerű gombok kialakítása
// "Remove" button will be with Font-Awesome icon called: "trash-o"
SETTER('approve/show', 'Are you sure you want to remove selected item?', ':trash-o: Remove', REMOVE_FUNCTION);
// "Confirm" button will be "green" with Font-Awesome icon called: "checked-circle"
SETTER('approve/show', 'Are you sure you want to confirm selected items?', ':checked-circle: Confirm #2BA433', REMOVE_FUNCTION);Használja a <ui-component name="approve">Amennyiben a készülék még nem tölthető le, jComponent letöltés az első felhasználásra a címről DEF.fallback (Azt a Componentator A szerző: Peter Širka. forrás: a Componentator Az összetevők raktár, MIT licenc.
<ui-component name="approve"></ui-component>
<script>
SETTER(true, 'approve/show', 'Do you want to remove React/Vue/Angular.js from your device?', ':check-circle: OK', function() {
alert('Thank you for using of jComponent library');
});
</script>