Skip to content

pantoken / tools/demo/src / ExampleSrcdocOptions

رابط: ExampleSrcdocOptions

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

خصوصیات

cssUrls

cssUrls: readonly string[]

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


card?

optional card?: boolean

html را در سطح مشترک .instui-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.