blockly > blockRendering > 欄位 > (建構函式)
blockRendering.Field.(constructor)
建構 Field
類別的新例項
Signature:
constructor(constants: ConstantProvider, field: BlocklyField, parentInput: Input);
參數
參數 | 類型 | 說明 |
---|---|---|
constants | ConstantProvider | 轉譯常數提供者。 |
欄位 | BlocklyField | 要用於測量及儲存資訊的欄位。 |
parentInput | 輸入功率 | 欄位的父項輸入內容。 |