element-resize-event
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -78,2 +78,6 @@ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
obj.setAttribute('class', 'resize-sensor') | ||
// prevent <object> from stealing keyboard focus | ||
obj.setAttribute('tabindex', '-1'); | ||
obj.__resizeElement__ = element | ||
@@ -80,0 +84,0 @@ obj.onload = objectLoad |
@@ -48,2 +48,6 @@ function resizeListener(e) { | ||
obj.setAttribute('class', 'resize-sensor') | ||
// prevent <object> from stealing keyboard focus | ||
obj.setAttribute('tabindex', '-1'); | ||
obj.__resizeElement__ = element | ||
@@ -50,0 +54,0 @@ obj.onload = objectLoad |
{ | ||
"name": "element-resize-event", | ||
"description": "Polyfill to make it easy to listen for element resize events", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
@@ -6,0 +6,0 @@ "bugs": { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
12013
223
0