UNPKG

@jigra/text-zoom

Version:

The Text Zoom API provides the ability to change Web View text size for visual accessibility.

12 lines (11 loc) 497 B
import type { GetPreferredResult, GetResult, SetOptions, TextZoomPlugin } from "./definitions"; export declare class TextZoomIOS implements TextZoomPlugin { static readonly TEXT_SIZE_REGEX: RegExp; get(): Promise<GetResult>; getPreferred(): Promise<GetPreferredResult>; set(options: SetOptions): Promise<void>; getRaw(): string; setRaw(value: string): void; textSizePercentageToNumber(percentage: string): number; textSizeNumberToPercentage(num: number): string; }