封鎖 >blockRendering >欄位 >(建構函式)

blockRendering.Field.(constructor)

建構 Field 類別的新例項

Signature:

constructor(constants: ConstantProvider, field: BlocklyField, parentInput: Input);

參數

參數 類型 說明
constants ConstantProvider 算繪常數的供應器。
欄位 BlocklyField 用於測量和儲存資訊的欄位。
parentInput 輸入功率 欄位的父項輸入內容。