Skip to content

pantoken / tools/demo/src / ExampleSrcdocOptions

Interfície: ExampleSrcdocOptions

Opcions per a buildExampleSrcdoc.

Propietats

cssUrls

cssUrls: readonly string[]

URLs de full d'estil per carregar al <head> de l'iframe (tokens, components, utilitats, icones, …).


card?

optional card?: boolean

Embolicar html en la superfície .instui-card compartida (per defecte 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.