blockly > blockRendering > Field > (constructor)
blockRendering.Field.(constructor)
إنشاء مثيل جديد لفئة Field
Signature:
constructor(constants: ConstantProvider, field: BlocklyField, parentInput: Input);
المعلمات
المَعلمة |
النوع |
الوصف |
الثوابت |
ConstantProvider |
موفِّر الثوابت المخصّصة للعرض |
الحقل |
BlocklyField |
الحقل الذي يتم قياس المعلومات وتخزينها له |
parentInput |
الإدخال |
الإدخال الرئيسي للحقل |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-11-08 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-08 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `blockRendering.Field` constructor creates a new rendering object for a Blockly field."],["It uses a `ConstantProvider` for rendering settings, a `BlocklyField` for field data, and an `Input` to identify the field's parent."],["This constructor is essential for integrating fields into the block rendering process within Blockly."]]],[]]