@fluid-topics/ft-reader-content 1.3.35 → 1.3.36

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.
@@ -18,6 +18,7 @@ export declare class FtReaderContent extends FtReaderComponent implements FtRead
18
18
  renderAfterLast: number;
19
19
  mapId?: string;
20
20
  container?: FtInfiniteScroll<any>;
21
+ private watermark?;
21
22
  private renderItem;
22
23
  private getItemKey;
23
24
  protected render(): TemplateResult<1>;
@@ -46,7 +46,9 @@ class FtReaderContent extends FtReaderComponent {
46
46
  @visible-items-change=${this.visibleTopicChange}
47
47
  @scrolled-to-target=${this.onScrollDone}>
48
48
  </ft-infinite-scroll>
49
- <ft-reader-watermark part="watermark" .exportpartsPrefixes=${["watermark"]}
49
+ <ft-reader-watermark part="watermark"
50
+ watermark=${this.watermark}
51
+ .exportpartsPrefixes=${["watermark"]}
50
52
  height="${(_c = this.container) === null || _c === void 0 ? void 0 : _c.scrollable.clientHeight}px"></ft-reader-watermark>
51
53
  `;
52
54
  }
@@ -125,4 +127,7 @@ __decorate([
125
127
  __decorate([
126
128
  query(".ft-reader-content")
127
129
  ], FtReaderContent.prototype, "container", void 0);
130
+ __decorate([
131
+ redux({ selector: (state) => { var _a; return (_a = state.map) === null || _a === void 0 ? void 0 : _a.watermark; } })
132
+ ], FtReaderContent.prototype, "watermark", void 0);
128
133
  export { FtReaderContent };