HIncludeWeb的声明性客户端包含

联合创作 · 2023-09-22 09:12

hinclude.js 可以实现在 Web 客户端上使用 include 指令来包含其他页面内容。

示例代码:

<hx:include src="/other/document/here.html"></hx:include>

或者是指定默认内容:

<hx:include src="new">
    this content will be overwritten by the included content
</hx:include>
浏览 2
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报