Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-resizable-element

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-resizable-element

An angular 6.0+ directive that allows an element to be dragged and resized

  • 3.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
29K
decreased by-77.47%
Maintainers
1
Weekly downloads
 
Created

What is angular-resizable-element?

The angular-resizable-element package allows you to add resizable functionality to elements in your Angular applications. It provides a simple and flexible way to make any element resizable by dragging its edges or corners.

What are angular-resizable-element's main functionalities?

Basic Resizable Element

This feature allows you to make a basic element resizable by specifying the handles (e.g., 'right', 'bottom', 'corner') that can be dragged to resize the element.


<resizable [rzHandles]="['right', 'bottom', 'corner']">
  <div class="box">
    Resizable Element
  </div>
</resizable>

Resizable with Minimum and Maximum Dimensions

This feature allows you to set minimum and maximum dimensions for the resizable element, ensuring that it cannot be resized beyond the specified limits.


<resizable [rzHandles]="['right', 'bottom', 'corner']" [rzMinWidth]="100" [rzMinHeight]="100" [rzMaxWidth]="500" [rzMaxHeight]="500">
  <div class="box">
    Resizable Element with Constraints
  </div>
</resizable>

Resizable with Aspect Ratio

This feature allows you to maintain the aspect ratio of the resizable element, ensuring that the width and height are resized proportionally.


<resizable [rzHandles]="['right', 'bottom', 'corner']" [rzAspectRatio]="true">
  <div class="box">
    Resizable Element with Aspect Ratio
  </div>
</resizable>

Other packages similar to angular-resizable-element

Keywords

FAQs

Package last updated on 03 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc