@energycap/components 0.26.7 → 0.26.8

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.
@@ -6348,6 +6348,14 @@
6348
6348
  if (this.el.nativeElement.attributes.getNamedItem('colspan')) {
6349
6349
  throw new Error("Failed to lock table column because it had a 'colspan'. Locked columns do not currently support THs or TDs with a 'colspan'. Remove the 'colspan' attribute from table columns that have the [ecTableLockedColumn] component.");
6350
6350
  }
6351
+ this.updatePositionAndBorder();
6352
+ };
6353
+ TableLockedColumnComponent.prototype.ngOnChanges = function () {
6354
+ if (this.options) {
6355
+ this.updatePositionAndBorder();
6356
+ }
6357
+ };
6358
+ TableLockedColumnComponent.prototype.updatePositionAndBorder = function () {
6351
6359
  if (typeof this.options.left === 'number' && typeof this.options.right === 'number') {
6352
6360
  throw new Error("Failed to lock table column because it had a value for both left and right. Only left or right can have a value.");
6353
6361
  }