# j-SwitchButton

> j-SwitchButton επιλογές: απαιτείται, αναπηρία, σύνορα, ευθυγράμμιση, περιγραφή

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: el
Content-SHA256: 7ce4758fbe283016a7a3e1e7c51a3859582d82d2eb54152e66f14e4632e05035
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

__ΕΠΙΤΡΟΦΗ__:

- `required {Boolean}` προαιρετική, επιτρέπει «αναγκαία» (προεπιλεγμένη: `false`)
- `disabled {Boolean}` επιλογή, απενεργοποιεί αυτό το συστατικό
- `border {Boolean}` προαιρετική, επιτρέπει το κάτω μέρος των συνόρων (προεπιλεγμένο: `false`)
- `align {String}` αριστερή/δεξιά ευθυγράμμιση του στοιχείου μετατροπής (προεπιλεγμένη: `left`)
- `description {String}` Εναλλακτικά

Χρησιμοποιήστε το με `<ui-component name="switchbutton">`Όταν το στοιχείο δεν έχει φορτωθεί ακόμα, jComponent Κατεβάστε το για πρώτη φορά από τη διεύθυνση `DEF.fallback` (Η Componentator Πληροφορίες από τον Τόμας Νόβακ. πηγή: το Componentator Ετικέτες Αξιολόγηση, MIT άδεια.

```html example.html
<div style="width:500px">
	<ui-component name="switchbutton" path="form.newsletter" config="description:Product updates;border:1">Receive messages from our platform</ui-component>
	<ui-component name="switchbutton" path="form.terms" config="description:Promotions and tips;border:1">Receive coupons, promotions, surveys</ui-component>
	<ui-component name="switchbutton" path="form.marketing" config="description:Marketing information;required:1;align:right;border:1">Receive marketing somarines</ui-component>
	<ui-component name="switchbutton" path="form.disabled" config="description:Acceptance of 2023;disabled:1;align:right">Documents are not ready</ui-component>
</div>
<script>
	var form = {};
	form.newsletter = true;
</script>
```
