salesforce aura input checkbox
snippet in html

salesforce aura input checkbox

user5433

<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>