Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1037

Expose instantiation arguments of createController

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Runtime
    • Labels:
      None

      Description

      Expose the controller name and parameters passed to Alloy.createController() so that they can be accessed later on.

      For instance:

      var w = Alloy.createController("userProfile", {
      	userId: 1234
      });
       
      var controller = w.controllerPath; // "userProfile"
      var arguments = w.controllerArguments; // { "userId": 1234 }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skypanther Tim Poulsen
                Reporter:
                matthewcongrove Matthew Congrove
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration