Google App Script

  • While you modify element or add widget, you must return app
  
function listBoxClick( eventInfo )
{
  var app = UiApp.getActiveApplication();
  Logger.log( "listBoxClick: "  +  eventInfo.parameter.searchListbox ); 
  
  var text = app.getElementById( "text" );
  text.setText( eventInfo.parameter.searchListbox );
  
  var title = app.getElementById( "title" );
  title.setText( eventInfo.parameter.searchListbox );
  
  return app;
}

Comments

Popular posts from this blog

Drawing textured cube with Vulkan on Android

董事長您好

C++ unit testing & CI integration in GitHub (2/2)