vdolek / angular-resize-event

Angular directive for detecting changes of an element size.
MIT License
169 stars 62 forks source link

Angular 15 Support #86

Open Fenki404 opened 1 year ago

Fenki404 commented 1 year ago

dependency support for @angular/common@"^15.0.2"

aldrashan commented 1 year ago

I created a PR for this #89

Might also need to change the dependencies & version inside the project's package.json itself, since that still requires the old versions.

achrysanthakopoulou commented 1 year ago

Any update on this?

leomayer commented 1 year ago

Any updates?

hakimio commented 1 year ago

The project doesn't seem to be maintained anymore. Those looking for an alternative, can try actively maintained ngx-resize. It can be used the same way like this directive but has a lot more options.

<some-component
    (ngxResize)="onResize($event)"
    [ngxResizeOptions]="optionalOptions"
></some-component>
Bykiev commented 5 months ago

The project doesn't seem to be maintained anymore. Those looking for an alternative, can try actively maintained ngx-resize. It can be used the same way like this directive but has a lot more options.

<some-component
    (ngxResize)="onResize($event)"
    [ngxResizeOptions]="optionalOptions"
></some-component>

This repository has been archived, is any alternative for angular 15+?

hakimio commented 5 months ago

You can use resize directive from ngxtension library which should work the same like the one from ngx-resize.

Bykiev commented 5 months ago

You can use resize directive from ngxtension library which should work the same like the one from ngx-resize.

It seems doesn't support angular 15, only >=16

Upd: switched to this library ngx-resize-observer v2.4.1 supports angular 15 it seems to be slow

hakimio commented 5 months ago

For Angular 15, you can just use ngx-resize even the github repo is archived.

Bykiev commented 5 months ago

For Angular 15, you can just use ngx-resize even the github repo is archived.

Thank you, but when we'll be ready for Angular 16 we need to change the library again, which is not good. Trying to find smth maintained and working with angular 15+

hakimio commented 5 months ago

It is maintained. It was just migrated from separate ngx-resize github repository to ngxtension repository. Same people working on it, same API.

Bykiev commented 5 months ago

Sounds good, thank you!

NemesLaszlo commented 1 month ago

Hi all, Many thanks to the contributors, I forked the project where I continued to follow the versions angular 16, 17 and now 18 etc. Available at the following link: https://www.npmjs.com/package/angular-resize-event-package