Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

salesforce aura input checkbox

<aura:component>
	<aura:attribute name="myBool" type="Boolean" default="true"/>
	<ui:inputCheckbox aura:id="checkbox" label="Select?" change="{!c.onCheck}"/>
	<p>Selected:</p>
	<p><ui:outputText class="result" aura:id="checkResult" value="false" /></p>
	<p>The following checkbox uses a component attribute to bind its value.</p>
	<ui:outputCheckbox aura:id="output" value="{!v.myBool}"/>
</aura:component>
Source by developer.salesforce.com #
 
PREVIOUS NEXT
Tagged: #salesforce #aura #input #checkbox
ADD COMMENT
Topic
Name
4+1 =