| Info | Value |
|---|---|
| Component Type | org.primefaces.extensions.component.LightSwitch |
| Handler Class | None |
| Renderer Type | org.primefaces.extensions.component.LightSwitchRenderer |
| Description | None |
| Name | Required | Type | Description |
|---|---|---|---|
automatic | false | jakarta.el.ValueExpression
(must evaluate to boolean)
| Flag indicating to switch to the theme based on the OS setting automatically. Default true. |
binding | false | jakarta.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
| An el expression referring to a server side UIComponent instance in a backing bean. |
dark | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| Dark theme. Default 'arya'. |
id | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| Unique identifier of the component in a namingContainer. |
light | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| Light theme. Default 'saga'. |
rendered | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
| Boolean value to specify the rendering of the component, when set to false component will not be rendered. |
selected | true | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| Selected theme. Should point to a value in a session scoped bean which you should also use as the context param 'primefaces.THEME'. |
widgetVar | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| Name of the client side widget. |
Output generated by Vdldoc View Declaration Language Documentation Generator.