- Learning Google Apps Script
- Ramalingam Ganapathy
- 73字
- 2021-07-16 12:40:05
Creating a modeless dialog
Now we will create a modeless dialog and see the difference between modal and modeless dialogs. Update the showDialog
function as shown here:
function showDialog() { var html = HtmlService.createHtmlOutputFromFile('Index'); DocumentApp.getUi() .showModelessDialog(html, 'Greeting'); }
Note that the showModalDialog
method has been changed to showModelessDialog
.
Modeless dialogs do not prevent you from doing other things, such as editing the document, and you can drag the dialog around as shown here:

推薦閱讀
- Clojure Programming Cookbook
- Docker and Kubernetes for Java Developers
- Java面向?qū)ο笏枷肱c程序設(shè)計(jì)
- Cocos2d-x游戲開發(fā):手把手教你Lua語言的編程方法
- Offer來了:Java面試核心知識(shí)點(diǎn)精講(原理篇)
- Django開發(fā)從入門到實(shí)踐
- 深入淺出Prometheus:原理、應(yīng)用、源碼與拓展詳解
- Spring Boot+Spring Cloud+Vue+Element項(xiàng)目實(shí)戰(zhàn):手把手教你開發(fā)權(quán)限管理系統(tǒng)
- Bulma必知必會(huì)
- Java:Data Science Made Easy
- C++ 從入門到項(xiàng)目實(shí)踐(超值版)
- Java Web程序設(shè)計(jì)任務(wù)教程
- 基于Struts、Hibernate、Spring架構(gòu)的Web應(yīng)用開發(fā)
- Node.js從入門到精通
- SAP Web Dynpro for ABAP開發(fā)技術(shù)詳解:基礎(chǔ)應(yīng)用