blockly > blockRendering > שדה > (constructor)

blockRendering.Field.(constructor)

יוצרת מופע חדש של המחלקה Field

Signature:

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

פרמטרים

פרמטר סוג תיאור
קבועים ConstantProvider ספק הקבועים של הרינדור.
שדה BlocklyField השדה שעבורו רוצים למדוד ולאחסן מידע.
parentInput קלט הקלט של ההורה בשדה.