# j-SwitchButton

> Opzioni j-SwitchButton: richiesto, disabile, confine, allineamento, descrizione

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

__Configurazione__:

- `required {Boolean}` opzionale, consente "necessario" (default: `false`)
- `disabled {Boolean}` opzionale, disabilita questo componente
- `border {Boolean}` opzionale, consentendo il basso limite (default: `false`)
- `align {String}` allineamento sinistro/diretto dell'elemento switch (default: `left`)
- `description {String}` opzionale

Utilizzare con `<ui-component name="switchbutton">`Quando il componente non è ancora caricato, jComponent Scarica il codice in prima utilizzazione dall'indirizzo `DEF.fallback` (Il Componentator La storia di Tomáš Novák.Fonte: il Componentator Ristorante dei componenti, licenza 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>
```
