Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@renet-consulting/resize

9.0.0 • Public • Published

Resize

This library provides a directive that listens resize event of an element.

Polyfill

There are few veriants of polyfills: resize-observer-polyfill resize-observer

Usage Example

inside a module:

import { ResizeModule } from '@renet-consulting/resize';

@NgModule({
    ...
    imports: [
        ResizeModule,
    ]
})
export class AppModule { }

inside html:

...
<div (resize)="handleResize($event)">
    any text
</div>
...

Release v9.0.0

Converted project to Angular v9

Install

npm i @renet-consulting/resize

DownloadsWeekly Downloads

3

Version

9.0.0

License

MIT

Unpacked Size

107 kB

Total Files

29

Last publish

Collaborators

  • avatar
  • avatar