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.