@arsedizioni/ars-utils 22.0.75 → 22.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -570,10 +570,10 @@ declare class OtpInputComponent implements ControlValueAccessor, Validator {
|
|
|
570
570
|
*/
|
|
571
571
|
onBeforeInput(event: InputEvent): void;
|
|
572
572
|
/**
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
573
|
+
* Handles digit input, sanitizes it, syncs the DOM, updates the OTP array, and advances focus.
|
|
574
|
+
* @param event - The `input` event from the digit field.
|
|
575
|
+
* @param index - Zero-based index of the field that received input.
|
|
576
|
+
*/
|
|
577
577
|
onInput(event: Event, index: number): void;
|
|
578
578
|
/**
|
|
579
579
|
* Handles the Backspace key by moving focus to the previous field when the current one is empty.
|