@proximus/lavender-light 2.0.0-alpha.21 → 2.0.0-alpha.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -487,6 +487,20 @@ class PxElement extends WithExtraAttributes {
487
487
  get $el() {
488
488
  return this.shadowRoot.querySelector(this.nativeName);
489
489
  }
490
+ _updateAttribute(name, value) {
491
+ if (value) {
492
+ this.setAttribute(name, value);
493
+ } else {
494
+ this.removeAttribute(name);
495
+ }
496
+ }
497
+ _updateBooleanAttribute(name, value) {
498
+ if (value) {
499
+ this.setAttribute(name, "");
500
+ } else {
501
+ this.removeAttribute(name);
502
+ }
503
+ }
490
504
  }
491
505
  const flexboxAlignSelfValues = [
492
506
  "",