Skip to content

pantoken-root / tools/demo/src / ExampleSrcdocOptions

Schnittstelle: ExampleSrcdocOptions ​

Optionen für buildExampleSrcdoc.

Eigenschaften ​

cssUrls ​

cssUrls: readonly string[]

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


scriptUrls? ​

optional scriptUrls?: readonly string[]

Browser-Skript-URLs, die nach dem Beispiel-Markup geladen werden sollen (Interaktions-Bündel, falls erforderlich).


card? ​

optional card?: boolean

Umhülle html in der gemeinsamen .pantoken-demo-card-Oberfläche (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.