diff --git a/src/attributes/AttributeListeners.ts b/src/attributes/AttributeListeners.ts index 29165af..e15090d 100644 --- a/src/attributes/AttributeListeners.ts +++ b/src/attributes/AttributeListeners.ts @@ -1,12 +1,14 @@ enum AttributeListeners { - PRE_CLEAR, // Event run before clearing the form - POST_CLEAR, // Event run after learing the form - CHANGE, // Event runs on Form Change (datas wil be filled with the FMInput element) - FORM_INIT, // Event runs on form init - FORM_SUBMIT, // Event run before submitting (datas is filled with the datas that will be submitted, MUST return TriggerCallback) - VERIFY, // Event run on element verification (return true or false only) - FORM_FILL, // Event run after the form was filled - MODE_SWITCH, // Event run on form mode switch + PRE_CLEAR, // Event run before clearing the form + POST_CLEAR, // Event run after learing the form + CHANGE, // Event run on Form Change (datas wil be filled with the FMInput element) + FORM_INIT, // Event run on form init + FORM_SUBMIT, // Event run before submitting (datas is filled with the datas that will be submitted, MUST return TriggerCallback) + VERIFY, // Event run on element verification (return true or false only) + FORM_FILL, // Event run after the form was filled + MODE_SWITCH, // Event run on form mode switch + INPUT_ERROR, // Event run if an error was found in the form (data is filled with the errored field) + INPUT_UNFOCUS, // Event run on input unfocus } export default AttributeListeners