@d-i-t-a/reader 2.0.5 → 2.0.6-beta.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.
|
@@ -17,6 +17,9 @@ export declare class TTSModule2 implements ReaderModule {
|
|
|
17
17
|
private readonly properties;
|
|
18
18
|
private readonly api?;
|
|
19
19
|
initialize(body: any): void;
|
|
20
|
+
startX: number;
|
|
21
|
+
startY: number;
|
|
22
|
+
private clickStart;
|
|
20
23
|
private click;
|
|
21
24
|
private initVoices;
|
|
22
25
|
cancel(api?: boolean): void;
|
|
@@ -29,6 +32,7 @@ export declare class TTSModule2 implements ReaderModule {
|
|
|
29
32
|
constructor(delegate: IFrameNavigator, tts: TTSSettings, rights: ReaderRights, highlighter: TextHighlighter, properties: TTSModuleProperties, api?: TTSModuleAPI, headerMenu?: HTMLElement | null);
|
|
30
33
|
protected start(): Promise<void>;
|
|
31
34
|
userScrolled: boolean;
|
|
35
|
+
scrollPartial: boolean;
|
|
32
36
|
private wheel;
|
|
33
37
|
stop(): void;
|
|
34
38
|
generateTtsQueue(rootElement: Element, splitSentences: boolean): ITtsQueueItem[];
|
|
@@ -173,9 +173,9 @@ export declare class TextHighlighter {
|
|
|
173
173
|
doHighlight(keepRange?: boolean, marker?: AnnotationMarker): void;
|
|
174
174
|
speak(): void;
|
|
175
175
|
stopReadAloud(): void;
|
|
176
|
-
speakAll(): void;
|
|
177
176
|
callbackComplete(): void;
|
|
178
177
|
isOutsideViewport(rect: any): boolean;
|
|
178
|
+
isInsideViewport(rect: any): boolean;
|
|
179
179
|
get visibleTextRects(): HTMLElementRect[];
|
|
180
180
|
doneSpeaking(reload?: boolean): void;
|
|
181
181
|
/**
|