Titanium JIRA Archive
Alloy (ALOY)

[ALOY-262] Add shorthand markup for iOS SystemButtons

GitHub Issuen/a
TypeImprovement
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2014-08-06T20:19:03.000+0000
Affected Version/sn/a
Fix Version/sAlloy 1.3.0, 2013 Sprint 23
ComponentsXML
Labelsqe-manualtest
ReporterTony Lukasavage
AssigneeTony Lukasavage
Created2012-09-13T05:20:58.000+0000
Updated2014-08-06T22:31:11.000+0000

Description

Turn this:
Ti.UI.createButton({
    systemButton: Ti.UI.iPhone.SystemButton.CAMERA
});
into this:
<Button systemButton="CAMERA"/>
We can probably do this in the Ti.UI.Button.js parser.

Attachments

FileDateSize
Screen Shot 2014-08-06 at 1.15.37 PM.png2014-08-06T20:18:52.000+000021721
Screen Shot 2014-08-06 at 12.45.09 PM.png2014-08-06T20:18:52.000+000035085

Comments

  1. Tony Lukasavage 2013-11-07

    PR: https://github.com/appcelerator/alloy/pull/272 test app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-262 Functional test consists of running the app on iOS 6.X and 7 and making sure the rendered toolbar matches the attached screenshots.
  2. Federico Casali 2013-12-03

    Verified showing as expected. TiSDK 3.2.0.v20131127194046 CLI 3.2.0-beta Alloy 1.3.0-beta Titanium Studio 3.2.0.201311262027 iPad OS 7 and simulator Android Google Nexus Galaxy 4.3 MobileWeb (for sample #2) Closing.

JSON Source