UNPKG

speech-to-element

Version:

Add real-time speech to text functionality into your website with no effort

9 lines (8 loc) 411 B
import { Speech } from '../speech'; export declare class AutoScroll { static changeStateIfNeeded(speech: Speech, isAutoScrollingRequired: boolean): void; static scrollGeneric(speech: Speech, element: HTMLElement): void; static scrollSafariPrimitiveToEnd(element: HTMLElement): void; private static isElementOverflown; static isRequired(autoScroll: boolean, element: HTMLElement): boolean; }