Last active
November 14, 2019 11:25
-
-
Save rjattrill/7592709 to your computer and use it in GitHub Desktop.
Bind a Flex component to two conditions using && in MXML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<s:Button id="sendBtn" label="Send" click="sendBtn_clickHandler(event)" | |
enabled="{!model.documentSending && model.documentCreated}"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found in http://www.kahunaburger.com/2008/10/03/flex-tip-conditions-like-in-mxml/