@skyux/core 4.9.0 → 4.9.1

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.
@@ -2732,6 +2732,21 @@ var SkyViewkeeper = /** @class */ (function () {
2732
2732
  ensureStyleEl();
2733
2733
  this.syncElPosition();
2734
2734
  }
2735
+ Object.defineProperty(SkyViewkeeper.prototype, "viewportMarginTop", {
2736
+ get: function () {
2737
+ if (this.scrollableHost) {
2738
+ return 0;
2739
+ }
2740
+ else {
2741
+ return this._viewportMarginTop;
2742
+ }
2743
+ },
2744
+ set: function (margin) {
2745
+ this._viewportMarginTop = margin;
2746
+ },
2747
+ enumerable: true,
2748
+ configurable: true
2749
+ });
2735
2750
  SkyViewkeeper.prototype.syncElPosition = function () {
2736
2751
  var verticalOffset = this.calculateVerticalOffset();
2737
2752
  // When the element isn't visible, its size can't be calculated, so don't attempt syncing position in this case.