You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
726 B
726 B
bi.icon_button
图标button,基类BI.BasicButton
{% method %} source
{% common %}
BI.createWidget({
type: 'bi.icon_button',
cls: "close-ha-font",
width: 20,
height: 20
});
{% endmethod %}
API
基础属性
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
iconWidth | 图标宽度 | number | null | |
iconHeight | 图标高度 | number | null |
对外方法
名称 | 说明 | 回调参数 |
---|---|---|
doClick | 点击事件 | — |