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

vue-resize-sensor

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-resize-sensor - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "vue-resize-sensor",
"version": "1.0.0",
"version": "1.0.1",
"description": "detect container resizing",

@@ -5,0 +5,0 @@ "main": "src/resize-sensor.vue",

# vue-resize-sensor
detect container resizing
detect container resizing.
* event based
* no window.onresize
* no interval/timeout detection
* no CSS modifications
* no Javascript-Framework dependency
## Example
```
<template>
<div>
<resize-sensor @resize="resize"></resize-sensor>
</div>
</template>
```
## API
### events
#### @resize <sup>Object<sup>
A size object `{ width, height }`
## Browser support
Any browser, IE7+

Sorry, the diff of this file is not supported yet

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