Skip to content

pantoken-root / tools/demo/src / ExampleSrcdocOptions

Viðmót: ExampleSrcdocOptions ​

Valkostir fyrir buildExampleSrcdoc.

Eiginleikar ​

cssUrls ​

cssUrls: readonly string[]

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


scriptUrls? ​

optional scriptUrls?: readonly string[]

URL-slóðir vafraskripta sem á að hlaða eftir sýnishornamerkingu (interaction bundles, when needed).


card? ​

optional card?: boolean

Umlyktu html í sameiginlegu .pantoken-demo-card yfirborði (sjálfgefið 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.