Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Modern UI for Office Work

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.
Avatar for wtnabe wtnabe
December 12, 2015

Modern UI for Office Work

Google Apps Script の HtmlService を使って Modern UI を追加する

Avatar for wtnabe

wtnabe

December 12, 2015
Tweet

More Decks by wtnabe

Other Decks in Programming

Transcript

  1. $('select').select2({data: [ <? getOptions().map(function(e, i) { ?> {id: '<?= e

    ?>', text: '<?= e ?>'}, <? }); ?> ] }); ややつらい…
  2. まとめ GoogleApps は HTML で UI を追加できる Custom UI は

    Modeless なので⼊⼒をど う扱うのか考える必要アリ google.script.run だけで remote の script を呼び出してデータを渡せる