Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-apps-script/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google apps script 使用HtmlService的web应用程序的页面标题_Google Apps Script - Fatal编程技术网

Google apps script 使用HtmlService的web应用程序的页面标题

Google apps script 使用HtmlService的web应用程序的页面标题,google-apps-script,Google Apps Script,使用UIApp,您可以通过setTitle()设置页面的。如果我在HtmlService中使用HTML模板,我想不出该怎么做。我尝试在模板中的不同位置放置标记,但没有效果。有什么建议吗?HtmlOutput(您从template.evaluate()或直接从HtmlService.createHtmlOutput()获得的内容)也有一个设置标题。HtmlOutput(您从template.evaluate()或直接从HtmlService.createHtmlOutput()获得的内容)也有一个

使用UIApp,您可以通过
setTitle()
设置页面的
。如果我在HtmlService中使用HTML模板,我想不出该怎么做。我尝试在模板中的不同位置放置
标记,但没有效果。有什么建议吗?

HtmlOutput(您从template.evaluate()或直接从HtmlService.createHtmlOutput()获得的内容)也有一个设置标题。

HtmlOutput(您从template.evaluate()或直接从HtmlService.createHtmlOutput()获得的内容)也有一个设置标题。

请参阅: