5
SVG yolunu yazarak bir sorunum var d = "". Bu hata mesajını anlamıyorum.svg geçersiz değer için <path>
html:
<svg style="height:300px">
<path d="{{ room.coordinate }}" ng-repeat="room in rooms" fill="blue" stroke="black" stroke-width="2"></path>
</svg>
SVG yolu: M, 150 0 L75 200 L225 200 Z
hatası:
Error: Invalid value for <path> attribute d="{{ room.coordinate }}" jquery.min.js:3
Error: Invalid value for <path> attribute d="{{ room.coordinate }}" angular.min.js:23
'd' özniteliği yerine' ng-attr-d 'kullanın. – Blackhole
güzel işler, teşekkürler – user3780659
@Blackhole uygun bir cevap olarak göndermelisiniz, bu gerçekten yardımcı oldu! –