Option to mask inputs (#80)

* Option to mask inputs

Added option 'maskAllInputs' to replace all user inputs with an Asterisk.

* Update types.d.ts
This commit is contained in:
Sebastian Jakob
2026-04-01 12:00:00 +08:00
committed by yz-yu
parent 2a1bfc9316
commit 2502913883
6 changed files with 718 additions and 3 deletions

View File

@@ -106,6 +106,7 @@ export type recordOptions = {
checkoutEveryNms?: number;
blockClass?: blockClass;
ignoreClass?: string;
maskAllInputs?: boolean;
inlineStylesheet?: boolean;
};
@@ -118,6 +119,7 @@ export type observerParam = {
inputCb: inputCallback;
blockClass: blockClass;
ignoreClass: string;
maskAllInputs: boolean;
inlineStylesheet: boolean;
};