描述

设置输入模式为选项。

接口

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