Skip to content

pantoken-root / tools/demo/src / ExampleSrcdocOptions

Interfaz: ExampleSrcdocOptions ​

Opciones para buildExampleSrcdoc.

Propiedades ​

cssUrls ​

cssUrls: readonly string[]

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


scriptUrls? ​

optional scriptUrls?: readonly string[]

URLs de scripts del navegador para cargar después del marcado de ejemplo (paquetes de interacción, cuando sea necesario).


card? ​

optional card?: boolean

Envuelva html en la superficie compartida .pantoken-demo-card (predeterminado 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.