mirror of
https://github.com/dzeiocom/FormManager.git
synced 2025-04-23 03:12:14 +00:00
Add new listeners
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
d648f7990f
commit
e0629e9595
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user