Skip to content

pantoken-root / tools/demo/src / ExampleSrcdocOptions

Interface: ExampleSrcdocOptions ​

خيارات لـ buildExampleSrcdoc.

Properties ​

cssUrls ​

cssUrls: readonly string[]

عناوين URL لملفات الأنماط لتحميلها في <head> داخل iframe (tokens, components, utilities, icons, …).


scriptUrls? ​

optional scriptUrls?: readonly string[]

روابط نصوص المتصفح لتحميلها بعد نموذج المثال (حزم التفاعل، عند الحاجة).


card? ​

optional card?: boolean

لفّ html داخل الواجهة المشتركة .instui-card (الافتراضي true).


dir? ​

optional dir?: "ltr" | "rtl"

اتجاه النص لـ <html> في المستند المعزول (الافتراضي "ltr") — srcdoc لا يرثه أبدًا من صفحة الاحتواء.