Skip to content

pantoken / tools/demo/src / ExampleSrcdocOptions

Interface: ExampleSrcdocOptions

Muligheder for buildExampleSrcdoc.

Egenskaber

cssUrls

cssUrls: readonly string[]

Stylesheet URL'er som skal indlæses i iframe'ens <head> (tokens, komponenter, utilities, ikoner, …).


card?

optional card?: boolean

Omslut html i den delte .instui-card overflade (standard 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.