描述
插入选框。
接口
void InsertCheckBox( const char* jsonCfg)
插入选框
thinkEditor.InsertCheckBox({ id: "", weight: 1.0, content: "单选框样式", checkFigureStyle: E_CHECK_FIGURE_STYLE.Style_0 });
参数
参数名 | 必填 | 类型 | 说明 | 备注 |
---|---|---|---|---|
id | 是 | string | 选框ID | |
weight | 是 | float | 权重 | |
content | 是 | string | 内容 | |
checkFigureStyle | 是 | enum | 选框样式 | E_CHECK_FIGURE_STYLE |
返回值
类型 | 说明 | 备注 |
---|---|---|
bool | 插入是否成功 | 1:成功 0:失败 |
文档更新时间: 2025-04-21 23:30 作者:admin