[TIMOB-19221] Windows: Alloy markup for Ti.UI.Windows.CommandBar
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Medium |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2015-07-22T20:52:02.000+0000 |
| Affected Version/s | Release 4.1.0 |
| Fix Version/s | n/a |
| Components | Windows |
| Labels | n/a |
| Reporter | Kota Iguchi |
| Assignee | Feon Sua Xin Miao |
| Created | 2015-07-15T11:36:49.000+0000 |
| Updated | 2015-07-22T20:52:02.000+0000 |
Description
We might want a new markup support for
Ti.UI.Windows.CommandBar button items using <Items> just like [Titanium.UI.iOS.Toolbar](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iOS.Toolbar).
Would be look like this:
<CommandBar platform="windows" ns="Ti.UI.Windows">
<Items>
<AppBarButton ns="Ti.UI.Windows" id="refreshButton"/>
</Items>
</CommandBar>
Polyfill is in the 4.1.0 sample app: https://github.com/appcelerator-developer-relations/appc-sample-ti410/blob/master/app/lib/polyfill.js