Skip to content

Commit

Permalink
Add info about the new clear event (#3)
Browse files Browse the repository at this point in the history
Related to pull request #5058 in `select2/select2`.
  • Loading branch information
gronostajo authored and pedrofurtado committed Sep 5, 2018
1 parent 8fc2e93 commit 3b44ae2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/12.programmatic-control/04.events/docs.md
Expand Up @@ -23,6 +23,8 @@ Select2 will trigger a few different events when different actions are taken usi
| `select2:select` | Triggered whenever a result is selected. `select2:selecting` is fired before this and can be prevented. |
| `select2:unselecting` | Triggered before a selection is removed. This event can be prevented. |
| `select2:unselect` | Triggered whenever a selection is removed. `select2:unselecting` is fired before this and can be prevented. |
| `select2:clearing` | Triggered before all selections are cleared. This event can be prevented. |
| `select2:clear` | Triggered whenever all selections are cleared. `select2:clearing` is fired before this and can be prevented. |

## Listening for events

Expand Down

0 comments on commit 3b44ae2

Please sign in to comment.