Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Element Resize Detector | 1,139 | 4,420 | 1,239 | 2 years ago | 41 | December 14, 2021 | mit | JavaScript | ||
Optimized cross-browser resize listener for elements. | ||||||||||
React Resize Detector | 1,113 | 3,640 | 654 | a month ago | 108 | April 09, 2023 | 2 | mit | TypeScript | |
A Cross-Browser, Event-based, Element Resize Detection for React | ||||||||||
Resize Observer | 886 | 28 | 180 | 3 months ago | 62 | August 01, 2021 | 9 | apache-2.0 | TypeScript | |
Polyfills the ResizeObserver API. | ||||||||||
Simple Element Resize Detector | 187 | 19 | 5 | 4 years ago | 6 | June 13, 2019 | 3 | JavaScript | ||
Observes element size changes using a hidden iframe | ||||||||||
Aurelia Resize | 14 | 5 years ago | 4 | mit | TypeScript | |||||
aurelia plugin to observe DOM-element resize events | ||||||||||
Resizey | 7 | 5 years ago | mit | JavaScript | ||||||
🐡 Resizey: Resize event listeners on DOM Elements! | ||||||||||
Conformer | 2 | 8 years ago | mit | JavaScript | ||||||
Dependancy free height matching for groups of dom elements. |
Conformer is a dependency free ie9 and up library for matching container heights.
It is AMD/Common enabled as well as living on the window if it needs to, and available through NPM and Bower.
NPM:
npm install conformer --save
Bower:
bower install conformer -S
var Conformer = require('conformer');
var conformer = new Conformer({
debounceRate: 200,
selector: '.a-custom-selector',
threshold: MOBILE_BREAKPOINT,
type: 'all'
});
Resize events are debounced. The default is 200ms, feel free to adjust.
Uses querySelectorAll. Defaults to '.conformer'.
Many mobile layouts wont need height matching, whereas desktop will. Pass your mobile threshold here.
Defaults to 0.
Takes 'all' or 'row'. Defaults to row, which matches all items at same offset. All sets the entire dom group to the same height.
The MIT License (MIT)
Copyright (c) 2015 Sam Estok
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.