متغيّر العنصر النائب القابل للتعديل

يتيح العنصر <var> للقرّاء استبدال متغيّرات العنصر النائب بمتغيّرات خاصة بهم. القيم.

الاستخدام العام

تكون متغيرات العنصر النائب القابلة للتعديل في كتلة رموز النقر للنسخ في Markdown قابل للتعديل بشكلٍ تلقائي.

Edit the name of this PROJECT_ID.

تفعيل إمكانية التعديل

أضِف فئة edit إلى العنصر <var> لإنشاء متغيّر هو EDITABLE خارج مجموعة رموز.

إيقاف إمكانية التعديل

This example adds the `readonly` class to the <var> element to create an
UNEDITABLE_VARIABLE.
This example adds the `readonly` class to the code block to disable editability
of both VARIABLE_1 and VARIABLE_2.

تلميحات

This EDITABLE variable has a tooltip that defaults to the
name of its original placeholder text.
This EDITABLE variable uses a `label`
attribute to create a custom tooltip named
Edit me.

المزامنة

متغيرات العنصر النائب القابلة للتعديل التي تتم مزامنتها للنطاق نفسه مع كل أخرى ويتم تعديلها على الفور لتعكس القيمة الجديدة.

إيقاف المزامنة

This variable synchronizes by default because it is in a click-to-copy code
block. It has a `label` attribute named `variable with scope`:
  VARIABLE

This variable adds the `no-scope` class so that it does not synchronize with the
other variables and has a `label` attribute named `variable without scope`:
  VARIABLE

This variable also synchronizes by default and has a `label` attribute named
`variable with scope`:
  VARIABLE

جارٍ تفعيل المزامنة

هذا العنصر النائب VARIABLE يتم ضبطها خارج مجموعة الرموز وتستخدم السمة scope للمزامنة مع المتغيرات في قسم تعطيل المزامنة أعلاه.