コード例 #1
0
  createList() {
    this.listView.render();
    document.body.appendChild(this.listView.el);

    this.model.getAppList().then(allApps => {
      this.listView.update(allApps);
      this.listView.setOpenHandler(this.handleOpen.bind(this));
    });
  }
コード例 #2
0
ファイル: list_controller.js プロジェクト: fxos/directory
 getApps() {
   this.model.getAppList().then(list => {
     this.list = list;
     this.refreshInstalledList();
   });
 }