| 38 | |
| 39 | declare global { |
| 40 | interface GlobalEventHandlersEventMap { |
| 41 | /** When an invalid value is corrected. */ |
| 42 | "autoNumeric:correctedValue": CustomEvent<null>; |
| 43 | /** When the AutoNumeric element is initialized. */ |
| 44 | "autoNumeric:initialized": CustomEvent<AutoNumericEventInitialized>; |
| 45 | /** When the user tries to validate an invalid math expression. */ |
| 46 | "autoNumeric:invalidFormula": CustomEvent<AutoNumericEventInvalidFormula>; |
| 47 | /** When an invalid value is entered (ie. when the raw value is out of the min/max range). */ |
| 48 | "autoNumeric:invalidValue": CustomEvent<null>; |
| 49 | /** When the `rawValue` is modified. */ |
| 50 | "autoNumeric:rawValueModified": CustomEvent<AutoNumericEventRawValueModified>; |
| 51 | /** When all the formatting is done and the formatted string is modified. */ |
| 52 | "autoNumeric:formatted": CustomEvent<AutoNumericEventFormatted>; |
| 53 | /** When the `minimumValue` is not respected. */ |
| 54 | "autoNumeric:minExceeded": CustomEvent<null>; |
| 55 | /** When the `maximumValue` is not respected. */ |
| 56 | "autoNumeric:maxExceeded": CustomEvent<null>; |
| 57 | /** When the user validates a valid math expression. */ |
| 58 | "autoNumeric:validFormula": CustomEvent<AutoNumericEventValidFormula>; |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | declare class AutoNumeric { |
nothing calls this directly
no outgoing calls
no test coverage detected