Skip to content

pantoken-root / tools/demo/src / ExampleSrcdocOptions

Entèfas: ExampleSrcdocOptions ​

Opsyon pou buildExampleSrcdoc.

Pwopriyete ​

cssUrls ​

cssUrls: readonly string[]

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


scriptUrls? ​

optional scriptUrls?: readonly string[]

URL script navigatè pou chaje apre markup egzanp lan (pakèt entèraksyon, lè sa nesesè).


card? ​

optional card?: boolean

Vlope html nan sifas pataje .pantoken-demo-card (pa defo 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.