@likecoin/epub-ts 0.4.9 → 0.5.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.
@@ -92,12 +92,10 @@ declare class Annotations {
92
92
  clear(view: AnnotationView): void;
93
93
  /**
94
94
  * [Not Implemented] Show annotations
95
- * @TODO: needs implementation in View
96
95
  */
97
96
  show(): void;
98
97
  /**
99
98
  * [Not Implemented] Hide annotations
100
- * @TODO: needs implementation in View
101
99
  */
102
100
  hide(): void;
103
101
  }
@@ -156,7 +154,6 @@ declare class Annotation implements IEventEmitter<AnnotationEvents> {
156
154
  detach(view: AnnotationView): void;
157
155
  /**
158
156
  * [Not Implemented] Get text of an annotation
159
- * @TODO: needs implementation in contents
160
157
  */
161
158
  text(): void;
162
159
  }
@@ -40,7 +40,6 @@ declare class Contents implements IEventEmitter<ContentsEvents> {
40
40
  called: number;
41
41
  active: boolean;
42
42
  observer: ResizeObserver | MutationObserver | undefined;
43
- expanding: ReturnType<typeof setTimeout> | undefined;
44
43
  onResize: ((size: {
45
44
  width: number;
46
45
  height: number;
@@ -49,7 +48,6 @@ declare class Contents implements IEventEmitter<ContentsEvents> {
49
48
  _resizeCheck: (() => void) | undefined;
50
49
  _triggerEvent: ((e: Event) => void) | undefined;
51
50
  _onSelectionChange: ((e: Event) => void) | undefined;
52
- _onVisibilityChange: (() => void) | undefined;
53
51
  _mediaQueryHandlers: {
54
52
  mql: MediaQueryList;
55
53
  handler: (e: MediaQueryListEvent) => void;
@@ -166,16 +164,6 @@ declare class Contents implements IEventEmitter<ContentsEvents> {
166
164
  * @private
167
165
  */
168
166
  resizeCheck(): void;
169
- /**
170
- * Poll for resize detection
171
- * @private
172
- */
173
- resizeListeners(): void;
174
- /**
175
- * Listen for visibility of tab to change
176
- * @private
177
- */
178
- visibilityListeners(): void;
179
167
  /**
180
168
  * Use css transitions to detect resize
181
169
  * @private