Skip to content

pantoken-root / tools/demo/src / ExampleSrcdocOptions

رابط: ExampleSrcdocOptions ​

گزینه‌ها برای buildExampleSrcdoc.

خصوصیات ​

cssUrls ​

cssUrls: readonly string[]

Stylesheet URLs to load into the iframe's <head> (tokens, components, utilities, icons, …).


scriptUrls? ​

optional scriptUrls?: readonly string[]

آدرس‌های اسکریپت مرورگر برای بارگذاری پس از نشانه‌گذاری نمونه (باندل‌های تعاملی، در صورت نیاز).


card? ​

optional card?: boolean

محتوای html را در سطح مشترک .pantoken-demo-card قرار دهید (پیش‌فرض true).


dir? ​

optional dir?: "ltr" | "rtl"

Text direction for the isolated document's <html> (default "ltr") — a srcdoc never inherits it from the embedding page.