图片可折叠卡片元素

# 图片可折叠卡片元素

示例: 《ImageFoldCard 示例》 (opens new window)

示意图

示意图

# API

警告

如果你的业务需要同时支持 EN5 Windows 客户端和 enow,请使用 easinote-proxy npm 包。

npm 包(推荐,同时支持 EN5 Windows 客户端和 enow)

详见:easinote-proxy

EasiNoteProxy.Proxy.insertElementByJson('ImageFoldCard','{元素数据描述的 Json 对象}');

EN window 客户端(不推荐,仅支持 Windows 客户端)

这种方式仅限于 EN5 Windows 客户端,ENOW(web网页)端不支持。

window.external.InsertElementByJson("ImageFoldCard", "{元素数据描述的 Json 对象}")

# 属性说明

属性协议名 类型 必需 描述 默认 备注
tag String 卡片的类型标记 业务标记,区分不同元素,类似 seewo-tiku seewo-huaban
title String 标题
titleImageUrl String 标题图片URL
content String 内容标题
contentImageUrl String 内容图片URL

插入的元素,默认是折叠状态。

# json 示例

测试:图片可折叠元素 DEBUG

{
  "tag": "seewo-tiku-test",
  "title": "单选题",
  "titleImageUrl": "http://files.eduuu.com/img/2011/08/18/162033_4e4ccb510ed70.jpg",
  "content": "答案与解析",
  "contentImageUrl": "https://ss0.baidu.com/94o3dSag_xI4khGko9WTAnF6hhy/zhidao/pic/item/b219ebc4b74543a90234b6511b178a82b901147b.jpg"
}
更新时间: Wednesday, September 29, 2021 19:16