How to select items by creating a rectangle with Angular 2/4?

1

I have a big problem with something I've been trying to do for a while now.

I have this Angular 2/4 code in Plunker ( link ) to which you can select one or more cards dragging the mouse on the cards but it is not the exact implementation that I would like to have since it contains bugs and is not exactly what I want.

I found this JS code ( link ) and I would like to implement it in that Plunker with Angular 2 in order to select what is inside the rectangle.

  

Someone tried to help me and the result was this   (plnkr.co/edit/JtkBSRhPNxAphLOtYFWa?p=preview) and it's hard for me to be able   Fix it.

    
asked by Janco Boscan 30.06.2017 в 22:50
source

0 answers