react-native-mathjax-html-to-svg
Version:
React Native component to display mathematics in html using MathJax. Uses [MathJax](https://github.com/mathjax/)
38 lines (37 loc) • 1.25 kB
TypeScript
import { A11yDocument, Region } from './Region.js';
import '../sre.js';
export interface Explorer {
active: boolean;
stoppable: boolean;
Attach(): void;
Detach(): void;
Start(): void;
Stop(): void;
AddEvents(): void;
RemoveEvents(): void;
Update(force?: boolean): void;
}
export declare class AbstractExplorer<T> implements Explorer {
document: A11yDocument;
protected region: Region<T>;
protected node: HTMLElement;
stoppable: boolean;
protected events: [string, (x: Event) => void][];
protected highlighter: sre.Highlighter;
private _active;
protected static stopEvent(event: Event): void;
static create<T>(document: A11yDocument, region: Region<T>, node: HTMLElement, ...rest: any[]): Explorer;
protected constructor(document: A11yDocument, region: Region<T>, node: HTMLElement, ..._rest: any[]);
protected Events(): [string, (x: Event) => void][];
get active(): boolean;
set active(flag: boolean);
Attach(): void;
Detach(): void;
Start(): void;
Stop(): void;
AddEvents(): void;
RemoveEvents(): void;
Update(force?: boolean): void;
protected getHighlighter(): sre.Highlighter;
protected stopEvent(event: Event): void;
}