cssangulartypescriptcalculatorresizable

Resize div box in angular from the opposite corner


• I just want to resize a square from the left not the right

• Here is the code I used:

My Stackblitz Code

• My desired result:

enter image description here

• Thanks for your help.


Solution

  • After trying many solutions I recommende to use the package angular2-draggable which allows users to resize from all sides.

    Thanks for your answers.