Socket
Socket
Sign inDemoInstall

@polymer/iron-fit-behavior

Package Overview
Dependencies
2
Maintainers
10
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

16

iron-fit-behavior.js

@@ -238,8 +238,17 @@ /**

attached: function() {
/**
* True if the component is RTL.
* @private
*/
get _isRTL() {
// Memoize this to avoid expensive calculations & relayouts.
// Make sure we do it only once
if (typeof this._isRTL === 'undefined') {
this._isRTL = window.getComputedStyle(this).direction == 'rtl';
if (typeof this._memoizedIsRTL === 'undefined') {
this._memoizedIsRTL = window.getComputedStyle(this).direction == 'rtl';
}
return this._memoizedIsRTL;
},
/** @override */
attached: function() {
this.positionTarget = this.positionTarget || this._defaultPositionTarget;

@@ -261,2 +270,3 @@ if (this.autoFitOnAttach) {

/** @override */
detached: function() {

@@ -263,0 +273,0 @@ if (this.__deferredFit) {

2

package.json

@@ -27,3 +27,3 @@ {

},
"version": "3.0.1",
"version": "3.0.2",
"main": "iron-fit-behavior.js",

@@ -30,0 +30,0 @@ "author": "The Polymer Authors",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc