[ALOY-714] Shorthand for some proxy properties (i.e., <RightNavButton>)
|Fix Version/s||Alloy 1.4.0, 2014 Sprint 04|
DescriptionCurrently to use certain proxy properties in markup, like
but it would be easier to render it as a button if you don't have any child elements:<RightNavButton> <Button title="press me"/> </RightNavButton>
This is just one example. We need to investigate the current list of proxy properties and see which can also be treated in a similar manner.<RightNavButton title="press me"/>
- Tim Poulsen 2014-01-24 Components with leftNavButton / rightNavButton proxy properties that accept arbitrary Views: * leftNavButton / rightNavButton -- Window, SplitWindow, Popover Map annotations have leftButton and leftView properties (and corresponding right button/view), which serve a similar purpose though they're not implemented with a single proxy property in the same way. Though, those properties are mutually exclusive -- you have have a button or view, not both. So perhaps Alloy shorthands could be applied to them in the same way.
- Tim Poulsen 2014-02-12
Test app: test/apps/testing/ALOY-714
1. Build the app for iOS
2. The navigation bar in the resulting app should have left & right navigation buttons. The left was created with standard markup, the right with the
shorthand notation 3. Click both buttons, each should display an alert box.
- Federico Casali 2014-04-30 Verified working as expected on iPhone 5 7.1 TiSDK 3.3.0.v20140429122517 Alloy 1.4.0-dev CLI 1.4.0-dev Appcelerator Studio 18.104.22.168404291930 Closing