Skip to content

Instantly share code, notes, and snippets.

@elidupuis
Created December 7, 2015 23:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elidupuis/9ecab189caaa485ddbbd to your computer and use it in GitHub Desktop.
Save elidupuis/9ecab189caaa485ddbbd to your computer and use it in GitHub Desktop.
mailTo anchor tag
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
<h1>Welcome to {{appName}}</h1>
<br>
<br>
{{outlet}}
<a href="mailto:test@example.com?subject=Example subject&body=example body text">mailTo link</a>
<a href="http://example.com">regular link</a>
<br>
<br>
{
"version": "0.4.17",
"EmberENV": {
"FEATURES": {}
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "1.13.11",
"ember-data": "1.13.15",
"ember-template-compiler": "1.13.11"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment