0
0
Fork 0

Lay foundation for event communication

This commit is contained in:
Tyler-A 2020-08-02 23:43:12 -06:00
parent 8fd9fdcc74
commit b8304cc285
2 changed files with 9 additions and 5 deletions

View file

@ -59,7 +59,7 @@
v-if="type === 'Tracks' && data_exists"
id="playlist_button"
>
<button @click.self="event('export-attempt')">
<button @click.self="event('playlist_export')">
Export Playlist
</button>
</div>
@ -118,7 +118,7 @@ export default {
}
},
methods: {
event(name) { this.$emit(name); },
event(name, data=null) { this.$emit(name, data); },
get_user() {},
verify_request_amount() {
let amount;