LoginSignup
0
1

More than 5 years have passed since last update.

AngularJSを使っていると、SVGのmarker-ほげほげ命令がうまく動作しない件

Posted at

現象

  • svgで矢印引きたい
  • pathで作った線 + 三角形をmarker-end命令で線の終端に追加する
  • うまく表示されない/^o^\

解決法

なんとなくAngularのrouterが悪さしてそうと思ったら

というわけで、

url(#id)
ではなく
url(/route#id)

と書いてあげれば表示できまぁす!

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1