Skip to content

Commit

Permalink
Allow password to be maskable instead of ignorable (#65)
Browse files Browse the repository at this point in the history
* Add password to maskInputOptions on types

* Add password on maskInputOptions to types definition
  • Loading branch information
Juice10 authored May 12, 2021
1 parent 362359e commit 0bb95f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export type MaskInputOptions = Partial<{
// unify textarea and select element with text input
textarea: boolean;
select: boolean;
password: boolean;
}>;

export type SlimDOMOptions = Partial<{
Expand Down
1 change: 1 addition & 0 deletions typings/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export declare type MaskInputOptions = Partial<{
week: boolean;
textarea: boolean;
select: boolean;
password: boolean;
}>;
export declare type SlimDOMOptions = Partial<{
script: boolean;
Expand Down

0 comments on commit 0bb95f1

Please sign in to comment.