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
Copy file name to clipboardexpand all lines: src/set-mask.ts
+37-27
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
333
-
*
343
+
*
334
344
* @remarks
335
345
* 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