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

공유된 .pantoken-demo-card 표면에 html을(를) 래핑하세요 (기본값 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.