OverviewSince 4.0 The mobi:flipSwitch component renders a control that toggles between on and off states. Getting StartedTos start using the FlipSwitch component, simply place the mobi:flipSwitch tag inside a form, bind its value to a boolean property in a backing bean, and optionally set labels for the on and off states. <h:form> <mobi:flipswitch id="switch" labelOn="ON" labelOff="OFF" value="#{bean.switch}" /> </h:form> Attributes
The value attribute must be of type Boolean and represents the current state of this component. The labelOn specifies the label of the switch for the On state. The labelOff specifies the label of the switch for the Off state. Event ListenersNone. Client Behavior Events
JavaScript APINone. Keyboard SupportNone. Known IssuesNone. Additional ResourcesSample ApplicationsThis component appears in the following ICEfaces sample applications: TutorialsThis component appears in the following ICEfaces tutorials: None |
FlipSwitch
© Copyright 2021 ICEsoft Technologies Canada Corp.