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

23 lines
270 B
JavaScript
Raw Normal View History

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