All Projects → eknowles → resizerjs

eknowles / resizerjs

Licence: other
Simple resizing for flexbox

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to resizerjs

Vue Drag Resize
Vue Component for resize and drag elements
Stars: ✭ 1,007 (+6193.75%)
Mutual labels:  resize, draggable
Vue Multipane
Resizable split panes for Vue.js.
Stars: ✭ 427 (+2568.75%)
Mutual labels:  resize, flexbox
Vue3 Draggable Resizable
[Vue3 组件] 用于拖拽调整位置和大小的的组件,同时支持冲突检测,元素吸附对齐,实时参考线。
Stars: ✭ 159 (+893.75%)
Mutual labels:  resize, draggable
Vue Draggable Resizable Gorkys
Vue 用于可调整大小和可拖动元素的组件并支持冲突检测、元素吸附、元素对齐、辅助线
Stars: ✭ 521 (+3156.25%)
Mutual labels:  resize, draggable
React Rnd
🖱 A resizable and draggable component for React.
Stars: ✭ 2,560 (+15900%)
Mutual labels:  resize, draggable
nodepolus2
NodePolus is a JavaScript library containing multiple implementations of the Among Us network protocol.
Stars: ✭ 295 (+1743.75%)
Mutual labels:  javascript-library
tetris-grid
◼️Lightweight and simple CSS grid
Stars: ✭ 16 (+0%)
Mutual labels:  flexbox
qrono
🕥 Just right date time library
Stars: ✭ 111 (+593.75%)
Mutual labels:  javascript-library
anypalette.js
🎨 Read/write all color palette file formats ❤🧡💛💚💙💜
Stars: ✭ 41 (+156.25%)
Mutual labels:  javascript-library
react-circle-flags
🚀 A React component with a collection of 300+ minimal circular SVG country flags. Wrapper of HatScripts/circle-flags
Stars: ✭ 29 (+81.25%)
Mutual labels:  javascript-library
imageman
Image manipulation library. Use Pixie instead.
Stars: ✭ 58 (+262.5%)
Mutual labels:  resize
vue-component-creater-ui
拖拽式Vue组件代码生成编辑器(VCC)
Stars: ✭ 383 (+2293.75%)
Mutual labels:  draggable
PNG-Upscale
AI Super - Resolution
Stars: ✭ 116 (+625%)
Mutual labels:  resize
OTResizableView
OTResizableView is a UIView library that can be resized with fingers.
Stars: ✭ 47 (+193.75%)
Mutual labels:  resize
jsdoc-api
A programmatic interface for jsdoc3 with a few extra features
Stars: ✭ 55 (+243.75%)
Mutual labels:  javascript-library
Flexor
Blazor flexbox components
Stars: ✭ 23 (+43.75%)
Mutual labels:  flexbox
validid
A Javascript library to validate ID card numbers of China, Taiwan, Hong Kong and South Korea
Stars: ✭ 37 (+131.25%)
Mutual labels:  javascript-library
banana-i18n
banana-i18n - Javascript Internationalization library
Stars: ✭ 61 (+281.25%)
Mutual labels:  javascript-library
utils-flex
CSS flexbox utilities
Stars: ✭ 59 (+268.75%)
Mutual labels:  flexbox
react-cool-virtual
😎 ♻️ A tiny React hook for rendering large datasets like a breeze.
Stars: ✭ 1,031 (+6343.75%)
Mutual labels:  resize

Resizer.js

Build Status Coveralls NPM Version NPM Downloads GitHub stars GitHub issues Twitter

Resizer is a javascript library for handling custom resizing of flex box elements.

This allows the user to drag a handle to resize the frame.

Installation

Install with NPM

$ npm i resizerjs

Add script to the document

<script src="./node_modules/resizerjs/dist/resizer.min.js"></script>

Add the CSS and customise how you wish.

[data-rz-handle] {
    flex: 0 0 6px;
    background-color: rgba(0, 0, 0, 0.5);
}

[data-rz-handle] div {
    width: 6px;
    background-color: rgba(0, 0, 0, 0.5);
}

Usage

Create an instance of Resizer. Use a CSS selector of the container element as the first argument.

JavaScript
const myResizer = new Resizer('.container');
HTML
<div class="container">
    <div class="item"></div>
    <div class="item"></div>
</div>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].