⇲👁 A simple React Hook which allows to listen the resize event of any target element when it changes sizes
MIT License
null
, or an object with numeric width and height properties (never null)Published by FezVrasta about 3 years ago
Published by FezVrasta almost 4 years ago
Typescript definitions
Published by FezVrasta over 4 years ago
aria-label
#42Published by FezVrasta almost 6 years ago
Fixed a bug that prevented proper resize detection on newer versions of Firefox
Published by FezVrasta over 6 years ago
Published by FezVrasta about 7 years ago
Published by FezVrasta about 7 years ago
height
and width
property namesPublished by FezVrasta about 7 years ago
Published by FezVrasta over 7 years ago
v2.4.0
Published by FezVrasta over 7 years ago
makeResizeAware
decorator/enhancerPublished by FezVrasta over 7 years ago
Published by FezVrasta over 7 years ago
onResize
propertyPublished by FezVrasta over 7 years ago
Breaking change, the component now has a new shiny API and it gets bundled with Rollup to be more lightweight.
It doesn't rely on react-dom anymore and will provide an height
and width
property to its child component.
Published by FezVrasta over 7 years ago
fixed IE bug with events
Published by FezVrasta over 8 years ago
Published by FezVrasta over 8 years ago
Published by FezVrasta over 8 years ago
first stable release