Skip to content

pantoken-root / tools/demo/src / ExampleSrcdocOptions

Interfejs: ExampleSrcdocOptions ​

Opcje dla buildExampleSrcdoc.

Właściwości ​

cssUrls ​

cssUrls: readonly string[]

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


scriptUrls? ​

optional scriptUrls?: readonly string[]

Adresy URL skryptów przeglądarki do załadowania po przykładzie znaczników (paczki interakcji, gdy potrzebne).


card? ​

optional card?: boolean

Opakuj html w udostępnionej .pantoken-demo-card powierzchni (domyślnie 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.