ngx-resize-element
v1.0.6
Published
Angular library which provides a way resize Block level elements (div, p, etc...) using respective ruler at right bottom.
Downloads
72
Maintainers
Readme
ngx-resize-element (latest)
- Angular library which provides a way resize Block level elements (div, p, etc...) using respective ruler at right bottom.
Import
Import the module on your app.module.ts
file as follow.
import { NgxResizeElementModule} from "ngx-resize-element";
Add to imports
imports: [
...
NgxResizeElementModule
...
],
Core function
<div class="card card-body my-3" ngxResize>
<div class="alert alert-danger m-0">
Welcome to resize
</div>
</div>
Code integration
To use this package as a service npm i ngx-resize-element
install this on the root angular project .
Note: Don't forget to run this commend
npm i ngx-resize-element
on root folder or else it will throw error.
Then import the module as follow on imports array
NgxResizeElementModule