Skip to content

Instantly share code, notes, and snippets.

@luxzeitlos
Created May 4, 2019 22:35
Show Gist options
  • Save luxzeitlos/c786d81c4e970e245878bd87287b5845 to your computer and use it in GitHub Desktop.
Save luxzeitlos/c786d81c4e970e245878bd87287b5845 to your computer and use it in GitHub Desktop.
New Twiddle
import Ember from 'ember';
export default Ember.Controller.extend({
link: 'https://cdn.pixabay.com/photo/2014/11/30/14/11/kitty-551554__340.jpg',
});
<svg>
<image
width=10
height=10
xlink:href="https://cdn.pixabay.com/photo/2014/11/30/14/11/kitty-551554__340.jpg"
/>
</svg>
<svg>
<image
width=10
height=10
xlink:href={{link}}
/>
</svg>
{
"version": "0.15.1",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js",
"ember": "3.4.3",
"ember-template-compiler": "3.4.3",
"ember-testing": "3.4.3"
},
"addons": {
"ember-data": "3.4.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment