Skip to content

Commit

Permalink
added language prop
Browse files Browse the repository at this point in the history
  • Loading branch information
mcucen committed Jun 12, 2020
1 parent f34285c commit 1511af6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/AnnounceKit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<a
v-bind:user="[user ? user : null]"
v-bind:data="[data ? data : null]"
v-bind:lang="[lang ? lang : null]"
v-bind:class="[selector ? selector.slice(1) : '']"
href="#"
></a>
Expand Down Expand Up @@ -29,6 +30,7 @@ export default {
user: Object,
data: Object,
lang: String,
},
methods: {
loaded: function() {
Expand Down Expand Up @@ -115,6 +117,7 @@ export default {
},
data: this.$props.data,
user: this.$props.user,
lang: this.$props.lang,
});
window["announcekit"].push(options);
Expand Down

0 comments on commit 1511af6

Please sign in to comment.