Inline Frame 模塊

該模塊提供了一個通用的 inline frame 短代碼。

Modulegithub.com/hbstack/iframe
Repository⭐ Please consider giving a star if your like it.
Stars
Version
Used by
Requirements
License
UsageSee how to use modules.

使用方法

1{{< hb/iframe "URL" >}}

或通過命名參數。

1{{< hb/iframe src="URL" trigger=manual >}}

參數

ParameterDefaultDescription
src-Inline frame 的 URL,必填。
triggerautomanual 則手動加載。
lazyLoadingtrue是否啓用延遲加載。
loadButtonTextload加載按鈕的文本。
loadInfo-顯示於加載按鈕下方的信息文本,支持 Markdown 語法。
fullscreentrue顯示/隱藏全屏按鈕。

例子

OpenStreetMap

Game

Please note that the iframe will load the game from other sites.

razonyang
2024年7月26日 星期五 2023年5月29日 星期一