Help with custom directives: rendering a SVG as a custom element. • /r/angularjs

  • Trying to get used to using custom directives, wanna see if anyone can help out.
  • Help with custom directives: rendering a SVG as a custom element.
  • subreddit: subreddit find submissions in “subreddit” author: username find submissions by “username” site: example.com find submissions from “example.com” url: text search for “text” in url selftext: text search for “text” in self post contents self:yes (or self:no) include (or exclude) self posts nsfw:yes (or nsfw:no) include (or exclude) results marked as NSFW
  • Looks like an issue with your directive’s name.
  • You can see how your choice of name causes the element name to be a bit awkward – I’d change it to animateSvg instead.

Trying to get used to using custom directives, wanna see if anyone can help out. normally I’d do something like this to just load an SVG: …

@Beepop_Agency: Help with custom directives: rendering a SVG as a custom element.:

Trying to get used to using custom directives, wanna see if anyone can help out.

normally I’d do something like this to just load an SVG:

Help with custom directives: rendering a SVG as a custom element. • /r/angularjs

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.