Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23153] Allow platform specific properties to be set via xml attributes

GitHub Issuen/a
TypeNew Feature
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Components360
Labelsalloy, attribute, platform, xml
ReporterBrenton House
AssigneeUnknown
Created2016-03-29T14:02:09.000+0000
Updated2018-02-28T19:54:55.000+0000

Description

{quote}As a developer, I want to set properties for a specific platform from an xml view, So that I can control how views look on different platforms using only xml view.{quote}
<Alloy>
    <Label 
          ios:text="This is on iOS" 
          android:text="This is on Android" 
          mobileweb:text="This is on MobileWeb" />
</Alloy
No PR has been created yet. I will update this ticket after PR containing feature and tests has been submitted. https://github.com/mobilehero/adamantium/issues/26

Comments

  1. Sharif AbuDarda 2016-04-05

    Thanks for submitting the feature request. Please create a PR. Moving this ticket to Engineering. Regards, Sharif

JSON Source