Skip to content

pantoken-root / tools/demo/src / ExampleSrcdocOptions

Arayüz: ExampleSrcdocOptions ​

buildExampleSrcdoc için seçenekler.

Özellikler ​

cssUrls ​

cssUrls: readonly string[]

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


scriptUrls? ​

optional scriptUrls?: readonly string[]

Örnek işaretlemeden sonra yüklenecek tarayıcı betik URL'leri (etkileşim paketleri, gerektiğinde).


card? ​

optional card?: boolean

Sarmalayın html paylaşılan .pantoken-demo-card yüzeyine (varsayılan 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.