hedera-web/js/htk/field/bar-button.js

20 lines
236 B
JavaScript

Htk.BarButton = new Class
({
Extends: Htk.Button
,Tag: 'htk-bar-button'
,Properties:
{
icon:
{
type: String
,set: function (x)
{
this.img.src = 'image/icon/dark/'+ x +'.svg';
}
}
}
,_showText: true
});