ngx-resize-element
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

ngx-resize-element

ngx-resize-element (latest)

ngx-resize-element npm version ngx-resize-element

  • 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

/ngx-resize-element/

    Package Sidebar

    Install

    npm i ngx-resize-element

    Weekly Downloads

    22

    Version

    1.0.9

    License

    MIT

    Unpacked Size

    17.9 kB

    Total Files

    14

    Last publish

    Collaborators

    • manoj10101996