描述
设置输入模式为选项。
接口
bool SetElementSelectOption(const char* id, const char* option_class, const char* option_id, const char* item_link_str, ElementCfg ele_cfg)
参数
参数名 | 必填 | 类型 | 说明 | 备注 |
---|---|---|---|---|
id | 是 | string | 元素ID | 为空时,设置对象为当前操作元素 |
option_class | 是 | string | 选项类 | |
option_id | 是 | string | 选项ID | |
item_link_str | 是 | string | 多选时连接字符串 | |
ele_cfg | 是 | uint | 元素位域配置项 | ElementCfg |
返回值
类型 | 说明 | 备注 |
---|---|---|
bool | 设置是否成功 | 1:成功 0:失败 |
文档更新时间: 2025-02-25 22:14 作者:admin