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
2019-06-15 06:52:08 +02:00
committed by yz-yu
parent 3bd9bcfe73
commit 189df87b9d
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 = {