0.0.12 • Published 4 years ago
ngx-svg-q v0.0.12
NgxSvgQ
Allows using property binding for geometric attributes in standard html-svg tags.
Use
Add svg directive to any svg element tag:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<line [x1]="x1" [y1]="y1" [x2]="x2" [y2]="y2" svg></line>
</svg>This code will create a line with values of x1, y1, x2, y2 variables as coordinates.