Skip to content

Upgrade to Angular 12 - #20

Open
janet-wilson-atos wants to merge 3 commits into
mgechev:masterfrom
janet-wilson-atos:MR32-changes
Open

Upgrade to Angular 12#20
janet-wilson-atos wants to merge 3 commits into
mgechev:masterfrom
janet-wilson-atos:MR32-changes

Conversation

@janet-wilson-atos

@janet-wilson-atos janet-wilson-atos commented Jan 27, 2022

Copy link
Copy Markdown

Hi, I needed to use this package in an Angular 12 project and was unable to find an alternative package which allowed me to resize in 2 directions at once by dragging corner, so I copied it and upgraded. Passing upgraded code back to you in case you'd like to upgrade the original package.

  1. Upgraded from Angular 4 to Angular 12 by creating a new empty Angular 12 project, copying in the code files and upgrading. (I've committed the structural changes as a separate commit to make it clearer to see what has changed).
  2. Upgraded to use eslint instead of tslint.
  3. Changed ngresizable.component.ts to only listen for mousemove while dragging to prevent unnecessary event handling.
  4. Tested thoroughly in a browser (but not tested on a mobile)
    Please let me know if you need any more details. (This is my first pull request, so apologies for any mistakes in protocol!)

re-structure directories to get it into right structure for later versions of Angular
rename directory ngresizable-fork-jw to ngresizable
1. Upgrade to Angular 12
2. Upgrade to use eslint
3. Change ngresizable.component.ts to only listen for mousemove while dragging
@janet-wilson-atos janet-wilson-atos changed the title Mr32 changes Upgrade to Angular 12 Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant