Spell mistake on Docs isEanbled to isEnabled

This commit is contained in:
Leo Caseiro
2016-05-13 16:56:26 +10:00
parent 87c9828a04
commit 34f2ffe148

View File

@ -7,12 +7,12 @@ previous_url: /ApiReference/ui/switch/HOW-TO
# Switch # Switch
Using a switch requires the Switch module. Using a switch requires the Switch module.
<snippet id='article-require-switch'/> <snippet id='article-require-switch'/>
### Binding the Switch checked property and Button isEanbled property to a observable view-model property. ### Binding the Switch checked property and Button isEnabled property to a observable view-model property.
``` XML ``` XML
<Page loaded="pageLoaded"> <Page loaded="pageLoaded">
<StackLayout orientation="vertical"> <StackLayout orientation="vertical">
{%raw%}<Switch checked="{{ someProperty }}" /> {%raw%}<Switch checked="{{ someProperty }}" />
<Button isEanbled="{{ someProperty }}" text="This is a Button!" />{%endraw%} <Button isEnabled="{{ someProperty }}" text="This is a Button!" />{%endraw%}
</StackLayout> </StackLayout>
</Page> </Page>
``` ```