
Security News
VulnCon 2025: NVD Scraps Industry Consortium Plan, Raising Questions About Reform
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
A ReactJS component to render a dragresize layer. ##Installation Install dragresize with [npm](https://www.npmjs.com/):
#dragresize A ReactJS component to render a dragresize layer. ##Installation Install dragresize with npm:
$ npm install dragresize --save
For CommonJS users:
import Dragresize from 'dragresize';
##Example Run:
$ npm install; npm start
##Props
Name | Type | default | Description |
---|---|---|---|
elmX | Number | 10 | Required. The layer X axis. |
elmY | Number | 10 | Required. The layer Y axis. |
elmW | Number | 100 | Required. The layer width. |
elmH | Number | 150 | Required. The layer height. |
isDrag | Boolean | true | 是否可拖拽. |
isResize | Boolean | true | 是否可缩放. |
isRatio | Boolean | false | 是否按比例缩放. |
isChecked | Boolean | true | 是否选中. |
minLeft | Number | null | Drag Scope |
minTop | Number | null | Drag Scope |
maxLeft | Number | null | Drag Scope |
maxTop | Number | null | Drag Scope |
minWidth | Number | 10 | Resize Scope |
minHeight | Number | 10 | Resize Scope |
maxWidth | Number | null | Resize Scope |
maxHeight | Number | null | Resize Scope |
onMouseDown | Function | null | MouseDown Callback |
onMouseMove | Function | null | MouseMove Callback |
onResize | Function | null | Resize Callback |
FAQs
A ReactJS component to render a dragresize layer. ##Installation Install dragresize with [npm](https://www.npmjs.com/):
The npm package dragresize receives a total of 2 weekly downloads. As such, dragresize popularity was classified as not popular.
We found that dragresize demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.