Update
This commit is contained in:
@@ -1754,7 +1754,8 @@ this.BX = this.BX || {};
|
||||
if (_classStaticPrivateMethodGet(this, ButtonManager$$1, _getCounter).call(this, counterNode)) {
|
||||
var _counterNode;
|
||||
options.rightCounter = {
|
||||
value: _classStaticPrivateMethodGet(this, ButtonManager$$1, _getCounter).call(this, counterNode)
|
||||
value: _classStaticPrivateMethodGet(this, ButtonManager$$1, _getCounter).call(this, counterNode),
|
||||
style: _classStaticPrivateMethodGet(this, ButtonManager$$1, _getCounterStyle).call(this, counterNode)
|
||||
};
|
||||
options.counterNode = undefined;
|
||||
options.counter = undefined;
|
||||
@@ -1874,6 +1875,12 @@ this.BX = this.BX || {};
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function _getCounterStyle(counterNode) {
|
||||
if (!main_core.Type.isDomNode(counterNode)) {
|
||||
return null;
|
||||
}
|
||||
return _classStaticPrivateMethodGet(this, ButtonManager$$1, _getEnumProp).call(this, counterNode, ui_cnt.CounterStyle);
|
||||
}
|
||||
function _getEnumProp(node, enumeration) {
|
||||
for (let key in enumeration) {
|
||||
if (!enumeration.hasOwnProperty(key)) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user