Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/phuix/PHUIXActionView.js
Show All 28 Lines | setDisabled: function(disabled) { | ||||
'phabricator-action-view-disabled', | 'phabricator-action-view-disabled', | ||||
disabled); | disabled); | ||||
this._buildIconNode(true); | this._buildIconNode(true); | ||||
return this; | return this; | ||||
}, | }, | ||||
getDisabled: function() { | |||||
return this._disabled; | |||||
}, | |||||
setLabel: function(label) { | setLabel: function(label) { | ||||
this._label = label; | this._label = label; | ||||
JX.DOM.alterClass( | JX.DOM.alterClass( | ||||
this.getNode(), | this.getNode(), | ||||
'phabricator-action-view-label', | 'phabricator-action-view-label', | ||||
label); | label); | ||||
return this; | return this; | ||||
}, | }, | ||||
▲ Show 20 Lines • Show All 147 Lines • Show Last 20 Lines |