You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🔀 Merge branch 'main' of github.com:codermarcos/simple-mask-money into fix/#63/readonly-inputs
Conflicts:
src/set-mask.ts
On branch fix/#63/readonly-inputs
All conflicts fixed but you are still merging.
Changes to be committed:
modified: package-lock.json
modified: package.json
modified: src/get-base-configuration.ts
modified: src/set-mask.ts
modified: src/types.ts
modified: tests/get-base-configuration.test.ts
Copy file name to clipboardexpand all lines: src/set-mask.ts
+38-28
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,11 @@ import getBaseConfiguration from 'src/get-base-configuration';
8
8
constnumbers='0123456789'.split('');
9
9
10
10
/**
11
-
* It applies a mask to an input element, formatting its value as a currency.
12
-
* It takes an input element and an optional configuration object as parameters.
13
-
* The function listens for keyboard events on the input element and updates its value accordingly.
11
+
* It applies a mask to an input element, formatting its value as a currency.
12
+
* It takes an input element and an optional configuration object as parameters.
13
+
* The function listens for keyboard events on the input element and updates its value accordingly.
14
14
* It also handles caret positioning and allows for undoing changes. The function returns a method to remove the mask from the input element.
15
-
*
15
+
*
16
16
* @remarks
17
17
* This method is part of the {@link https://github.com/codermarcos/simple-mask-money/ | SimpleMaskMoney} to see the full documentation check {@link https://github.com/codermarcos/simple-mask-money/tree/main/examples/4.x.x#simplemaskmoneysetmask | SimpleMaskMoney.setMask}
* Check the {@link https://github.com/codermarcos/simple-mask-money/tree/main/examples/4.x.x#SimpleMaskMoney.setMask | SimpleMaskMoney.setMask} method to get more information about this type
335
-
*
345
+
*
336
346
* @remarks
337
347
* This type is part of the {@link https://github.com/codermarcos/simple-mask-money/ | SimpleMaskMoney} to see the full documentation check {@link https://github.com/codermarcos/simple-mask-money/tree/main/examples/4.x.x#SimpleMaskMoney.setMask | SimpleMaskMoney.setMask}
0 commit comments