成為我們的資助者或贊助商,以支持我們的工作。
該模塊提供了一個通用的 inline frame 短代碼。
| Module | github.com/hbstack/iframe |
|---|---|
| Repository | ⭐ Please consider giving a star if your like it. |
| Stars | |
| Version | |
| Used by | |
| Requirements | |
| License | |
| Usage | See how to use modules. |
1{{< hb/iframe "URL" >}}
或通過命名參數。
1{{< hb/iframe src="URL" trigger=manual >}}
| Parameter | Default | Description |
|---|---|---|
src | - | Inline frame 的 URL,必填。 |
trigger | auto | manual 則手動加載。 |
lazyLoading | true | 是否啓用延遲加載。 |
loadButtonText | load | 加載按鈕的文本。 |
loadInfo | - | 顯示於加載按鈕下方的信息文本,支持 Markdown 語法。 |
fullscreen | true | 顯示/隱藏全屏按鈕。 |