ForgeKomponensek
hu

Komponensek

j-Approve

jComponent 20 · jcomponent@20 component Példa betöltve a jComponent 20-szal
  • 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ílus 1 (default) és 2)

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.

example.html
<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>