blockly > Events > ThemeChange > (建構函式)

Events.ThemeChange.(constructor)

建構 ThemeChange 類別的新執行個體

Signature:

constructor(opt_themeName?: string, opt_workspaceId?: string);

參數

參數 類型 說明
opt_themeName 字串 (選用) 主題名稱。未為空白事件定義。
opt_workspaceId 字串 (選用) 這個事件的工作區 ID。未為空白事件定義。