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.