access props in methods vue code example
Example: vuejs accessing props from data
data: function() {
var theData = {
somevar: this.messageId,
// other object attributes
}
return theData;
}
data: function() {
var theData = {
somevar: this.messageId,
// other object attributes
}
return theData;
}