1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-18 10:00:04 +08:00

3 Commits

Author SHA1 Message Date
Yamel Senih
50bac60614
Add support to ActionKeyPerformance event for implement enter event (#488) 2020-05-06 12:59:06 -04:00
Yamel Senih
0079502942
Rename event handler for fields, add some commits: (#480)
- addActionPerformed
- addKeyPressed
- addKeyReleased
- addFocusGained
- addFocusLost
- addRunAction
2020-05-04 21:38:53 -04:00
Yamel Senih
efe5f49e9e
Add functionality for event handler from any field, it define the follow global events: (#472)
- Action Performed: used for all **change** event
- Focus Gained: used for focus gained on field
- Focus Lost: used for focus lost on field
- Key Pressed: like to keydown
- Key Released: like keyup

For field events:
- notifyActionPerformed: when a value is changed
- notifyKeyPressed: when a key is press
- notifyKeyReleased: when a key is released
- notifyFocusGained: when a focus is gained in component
- notifyFocusLost: when a focus is lost from component
For Actions:
- notifyRunAction: used when a action is applied
Getters:
- getFieldEventList: get field event list from container UUID
- getActionEventList: get action event list from container UUID
2020-04-29 16:44:05 -04:00