UNPKG

js-draw

Version:

Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript.

7 lines (6 loc) 257 B
interface Options { clear?: boolean; } /** Sets the content of the given `input` or textarea to be `text`. */ declare const fillInput: (input: HTMLInputElement | HTMLTextAreaElement, text: string, { clear }?: Options) => void; export default fillInput;