Skip to content

Commit 9cee1e1

Browse files
committed
layout.Base: applyRenderAttributes() => add a silent param #6701
1 parent 4ee5925 commit 9cee1e1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/layout/Base.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,10 @@ class Layout extends Base {
7777
applyChildAttributes(item, index) {}
7878

7979
/**
80+
* @param {Boolean} silent=false
8081
* @protected
8182
*/
82-
applyRenderAttributes() {
83+
applyRenderAttributes(silent=false) {
8384
let me = this,
8485
{container, containerCls} = me,
8586
{wrapperCls} = container;
@@ -91,7 +92,7 @@ class Layout extends Base {
9192

9293
NeoArray.add(wrapperCls, containerCls);
9394

94-
container.wrapperCls = wrapperCls
95+
container[silent ? 'setSilent' : 'set']({wrapperCls})
9596
}
9697
}
9798

0 commit comments

Comments
 (0)