封鎖 >封鎖 >getInput

Block.getInput() 方法

擷取指定的輸入物件。

Signature:

getInput(name: string): Input | null;

參數

參數 類型 說明
名稱 字串 輸入內容的名稱。

傳回:

輸入內容 |空值

輸入物件;如果輸入內容不存在,則為空值。