Vue.component('MsgCard', {
template: `
{{ msg.subject }}
{{ msg.message }}
account_circle
Erstellt von {{ msg.user }}
bookmark_border
bookmark
`,
props: ['msg'],
data: function () {
return {
isActive: false,
};
},
methods: {
myFilter: function() {
this.isActive = !this.isActive;
},
}
});