Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13968] Specification: Create "apiName" property specification

GitHub Issuen/a
TypeSub-task
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-06-13T19:06:58.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 12 JS, 2013 Sprint 12, Release 3.2.0
ComponentsSpecification
Labelsn/a
ReporterBryan Hughes
AssigneeBryan Hughes
Created2013-05-23T19:04:03.000+0000
Updated2013-06-13T19:12:14.000+0000

Description

The classname property shall be a property on Ti.Proxy that returns a string describing the type of proxy. The format will match the global namespace name, so, for example, a button will have an apiName value of "Ti.UI.Button". This value shall be a constant.

Comments

  1. Tony Lukasavage 2013-06-03

    As noted in the related ticket, this should likely be a different name to avoid confusion with Ti.UI.TableViewRow.classname. I made a few suggestions, but I like *apiName*.
  2. Bryan Hughes 2013-06-13

    The architecture council approved the following spec:
         - name: apiName
           summary: The name of the API that this proxy corresponds to.
           description: |
               Each proxy will expose the name of the API that corresponds to this proxy. The value
               of this constant is the fully qualified name of the API. For example, a [Button](Titanium.UI.Button)
               will return "Ti.UI.Button" for apiName.
           permission: read-only
           type: String
           since: "3.1.2"
       

JSON Source