2
0
mirror of https://github.com/tenrok/vue-tribute.git synced 2026-06-15 11:52:27 +03:00

Add events section to readme

This commit is contained in:
syropian
2016-07-26 16:15:35 -04:00
parent 0a6cfa7b27
commit b00d0b4dbc
+4
View File
@@ -43,6 +43,10 @@ The `values` array should be an array of objects that contain a key and value li
You can modify this structure using the built-in [Tribute options](https://github.com/zurb/tribute#a-collection).
## Events
Tribute broadcasts two events — a `tribute-replaced` event, and a `tribute-no-match` event (see docs [here](https://github.com/zurb/tribute#replace-event)). For your convenience, whenever Tribute triggers these events, vue-tribute also emits these events from the Vue instance the bound element is attached to.
## License
MIT © [Collin Henderson](https://github.com/syropian)