Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-10344

Android: Implement applyProperties({}) method on Ti.UI objects to take a list of json properties as is done at create time.

    Details

      Description

      var win = Titanium.UI.createWindow({backgroundColor:'white'});
      win.open();
       
      var btn = Ti.UI.createButton({left:10, top:10, width:100, height:40, title:'Tap Me!'});
      btn.addEventListener('click',function(e){
          btn.applyProperties({width:200,height:100,title:'I Was Tapped!'});
      });
      win.add(btn);
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pwang Ping Wang
                Reporter:
                rmcmahon Russell McMahon
              • Watchers:
                2 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