Titanium JIRA Archive
Alloy (ALOY)

[ALOY-738] Alloy: Allow bitwise OR operand '|' in TSS files

GitHub Issuen/a
TypeNew Feature
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2014-01-17T17:44:00.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsAlloy
ReporterDaniel Sefton
AssigneeUnknown
Created2013-07-10T14:32:14.000+0000
Updated2018-03-07T22:26:10.000+0000

Description

You should be able to use the or operand '|' in TSS files. There are some properties that are creation-only and accept this operands, like windowSoftInputMode on android. For example:
var win = Ti.UI.createWindow({
    windowSoftInputMode : Ti.UI.Android.SOFT_INPUT_STATE_ALWAYS_VISIBLE | Ti.UI.Android.SOFT_INPUT_ADJUST_PAN
});
Alloy will fail if you try to do that in a TSS file.

Comments

  1. Tony Lukasavage 2014-01-17

    Duplicate of ALOY-750

JSON Source