Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <svg id="lines" viewBox="0 0 320.6 542.59" >
  2. <line *ngFor="let line of lines" class="line" [attr.x1]="line.x1" [attr.y1]="line.y1" [attr.x2]="line.x2" [attr.y2]="line.y2"/>
  3. </svg>
  4.  
  5. export class MyComponent{
  6. lines = [ // here
  7. { weight: 0.4, x1: 86.69, y1: 1, x2: 98.91, y2: 1 },
  8. { weight: 0.5, x1: 85.31, y1: 9.67, x2: 98.23, y2: 9.67 }
  9. ];
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement