vue-resize-sensor
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4764
29