@fluid-topics/ft-reader-content 2.1.10 → 2.1.12

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.
@@ -11,6 +11,7 @@ export declare class FtReaderContent extends FtReaderComponent implements FtRead
11
11
  renderTopic: (tocId: any, index: number) => TemplateResult | string;
12
12
  disableContextInteractions: boolean;
13
13
  headingLevelsShift: number;
14
+ headingStartLevel?: number;
14
15
  currentPage?: FtReaderPage;
15
16
  scrollTarget?: FtReaderScrollTarget;
16
17
  visibleTopics?: string[];
@@ -66,7 +66,8 @@ export class FtReaderContent extends FtReaderComponent {
66
66
  return html `
67
67
  <ft-reader-topic-context tocId="${tocId}"
68
68
  ?disableContextInteractions=${this.disableContextInteractions}
69
- headingLevelsShift="${this.headingLevelsShift}">
69
+ headingLevelsShift="${this.headingLevelsShift}"
70
+ headingStartLevel="${this.headingStartLevel}">
70
71
  ${this.renderTopic(tocId, index)}
71
72
  </ft-reader-topic-context>
72
73
  `;
@@ -116,6 +117,9 @@ __decorate([
116
117
  __decorate([
117
118
  numberProperty()
118
119
  ], FtReaderContent.prototype, "headingLevelsShift", void 0);
120
+ __decorate([
121
+ numberProperty()
122
+ ], FtReaderContent.prototype, "headingStartLevel", void 0);
119
123
  __decorate([
120
124
  redux()
121
125
  ], FtReaderContent.prototype, "currentPage", void 0);