We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c82a30 commit b2e143cCopy full SHA for b2e143c
1 file changed
src/component/Base.mjs
@@ -488,7 +488,7 @@ class Component extends Base {
488
* @param {String} value
489
*/
490
addCls(value) {
491
- let cls = this.cls;
+ let {cls} = this;
492
493
NeoArray.add(cls, value);
494
this.cls = cls
@@ -526,6 +526,17 @@ class Component extends Base {
526
return this.style = Object.assign(this.style, value)
527
}
528
529
+ /**
530
+ * Add a new wrapperCls to the top level node
531
+ * @param {String} value
532
+ */
533
+ addWrapperCls(value) {
534
+ let {wrapperCls} = this;
535
+
536
+ NeoArray.add(wrapperCls, value);
537
+ this.wrapperCls = wrapperCls
538
+ }
539
540
/**
541
* Triggered after the appName config got changed
542
* @param {String|null} value
0 commit comments