{"_id":"resize-sensor","_rev":"2-4db329da50573ca1a11b8d023a7e4c31","name":"resize-sensor","description":"Element Sensor is a purely event based element size changing detector, which means intermitten checking free.","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.6":{"name":"resize-sensor","version":"0.0.6","main":"ResizeSensor.min.js","description":"Element Sensor is a purely event based element size changing detector, which means intermitten checking free.","repository":{"type":"git","url":"git+https://github.com/normanzb/resize-sensor.git"},"devDependencies":{"requirejs":"~2.1.15","grunt":"~0.4.1","grunt-bumpup":"~0.2.0","grunt-contrib-requirejs":"~0.4.4","grunt-contrib-uglify":">= 0","grunt-tagrelease":"~0.2.0","amdclean":"~1.5.0","grunt-umd":"~2.2.1"},"gitHead":"0fc390692822fad3d03c39afd208e7e09c311e25","bugs":{"url":"https://github.com/normanzb/resize-sensor/issues"},"homepage":"https://github.com/normanzb/resize-sensor#readme","_id":"resize-sensor@0.0.6","_npmVersion":"5.3.0","_nodeVersion":"7.2.1","_npmUser":{"name":"normanzb","email":"im@norm.im"},"dist":{"integrity":"sha512-e+3wwdki9elemYP6AnyG2BK9/Gd7ak46wZN+Z62WwmWfhn2La1XV2rPRRIcar+PhRhfiQDXi29TapGMTIbI3Pg==","shasum":"75147dcb273de6832760e461d2e28de6dcf88c45","tarball":"https://registry.npmjs.org/resize-sensor/-/resize-sensor-0.0.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD866WQCSpChO1PFcsHNhmQ1EBbi2roaEAV+Owhqh8EmgIgJrumiUMN/t5gvLwGMqaqLLMIB27i6F2YtWiM5L99vbM="}]},"maintainers":[{"name":"normanzb","email":"im@norm.im"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resize-sensor-0.0.6.tgz_1501753708445_0.14330989145673811"}}},"readme":"Element Sensor\n===================\n\nElement Sensor detects html element size change by constructing subtle html structure inside target element, so that it indirectly triggers scroll event when resized.\n\nThe latest version also compatible with older browesrs by checking intermittently.\n\nElement Sensor is stolen from Marc J. Schmidt's [Element Queries component](https://github.com/marcj/css-element-queries), I refactored the code to make it consume less memory and be slightly faster by reduce the number of function instances. Also by separate it from the original repo, it will be much easier to be reused.\n\nUsage\n=====\n\n`new ResizeSensor(targetElement, callback)`\n\nLicense\n-------\nMIT license. Copyright [Marc J. Schmidt](http://marcjschmidt.de/).\n","maintainers":[{"name":"normanzb","email":"im@norm.im"}],"time":{"modified":"2022-05-15T21:04:21.042Z","created":"2017-08-03T09:48:29.464Z","0.0.6":"2017-08-03T09:48:29.464Z"},"homepage":"https://github.com/normanzb/resize-sensor#readme","repository":{"type":"git","url":"git+https://github.com/normanzb/resize-sensor.git"},"bugs":{"url":"https://github.com/normanzb/resize-sensor/issues"},"readmeFilename":"README.md","users":{"xfloops":true}}