0
1
Fork 0
hedera-web-mindshore/js/htk/field/bar-button.js

23 lines
270 B
JavaScript

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