描述

设置按ID名设置元素基础信息。

接口

bool SetElementBase(const char* id, const char* hint, const char* tip, const char* start_border, const char* end_border, const char* before_tag, const char* after_tag)

参数

参数名 必填 类型 说明 备注
id string 元素ID 为空时,设置对象为当前操作元素
hint string 背景文本 元素为空时显示
tip string 提示 鼠标悬空时提示信息
start_border string 起始边框
end_border string 结束边框
before_tag string 起始标签
after_tag string 结束标签

返回值

类型 说明 备注
bool 设置是否成功 1:成功 0:失败
文档更新时间: 2025-02-25 22:14   作者:admin