From 99422fe852b6231b21d03d5fd0221da9e9485187 Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Sun, 3 Jan 2021 17:15:32 -0500 Subject: [PATCH] Adding replaceInput type. Per #851 --- src/lib/@types/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/@types/index.d.ts b/src/lib/@types/index.d.ts index 4d0f8805..f1334db3 100644 --- a/src/lib/@types/index.d.ts +++ b/src/lib/@types/index.d.ts @@ -290,6 +290,12 @@ declare module 'simple-keyboard' { */ setInput(input: string, inputName?: string): void; + /** + * Replaces the entire internal input object. + * @param {string} input the input object + */ + replaceInput(input: any): void; + /** * Set new option or modify existing ones after initialization. * @param {KeyboardOptions} option The option to set