- 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:

推薦閱讀
- Learn TypeScript 3 by Building Web Applications
- 從零開始:數字圖像處理的編程基礎與應用
- Kibana Essentials
- PHP基礎案例教程
- .NET 4.0面向對象編程漫談:基礎篇
- ASP.NET Core 2 and Vue.js
- 教孩子學編程:C++入門圖解
- 軟件項目管理實用教程
- Python數據分析從0到1
- SQL基礎教程(第2版)
- Mastering Data Mining with Python:Find patterns hidden in your data
- Python Data Structures and Algorithms
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)
- AI自動化測試:技術原理、平臺搭建與工程實踐
- Java RESTful Web Service實戰