Skip to content

pantoken-root / tools/demo/src / ExampleSrcdocOptions

इंटरफेस: ExampleSrcdocOptions ​

buildExampleSrcdoc के विकल्प.

प्रॉपर्टीज ​

cssUrls ​

cssUrls: readonly string[]

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


scriptUrls? ​

optional scriptUrls?: readonly string[]

उदाहरण मार्कअप के बाद लोड करने के लिए ब्राउज़र स्क्रिप्ट URL (इंटरैक्शन बंडल, जब आवश्यक).


card? ​

optional card?: boolean

html को साझा .pantoken-demo-card सतह में लपेटें (डिफ़ॉल्ट 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.