I need to create a method that returns the email formatted to insert as the href value of an anchor tag. So the method needs to return the formatted string the the format: " maillto:[email protected]".
var facultyInformation = new Vue({
el: "#facultyInformation",
data: {
name:{
first: "first name here",
last: "last name here"
},
email: "the email here"
}
},
methods: {
getFormattedEmail: function(){
return this.email;
}
}
}
mailto:links now days (and have for a few years now). It is supremely easy for web crawlers to crawl websites, grab email links like those, and throw them into email lists for later spam usages and to sell to others who will spam you.