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

2
typings/types.d.ts vendored
View File

@@ -77,6 +77,7 @@ export declare type recordOptions = {
checkoutEveryNms?: number;
blockClass?: blockClass;
ignoreClass?: string;
maskAllInputs?: boolean;
inlineStylesheet?: boolean;
};
export declare type observerParam = {
@@ -88,6 +89,7 @@ export declare type observerParam = {
inputCb: inputCallback;
blockClass: blockClass;
ignoreClass: string;
maskAllInputs: boolean;
inlineStylesheet: boolean;
};
export declare type textCursor = {