@polymer/iron-form-element-behavior
Advanced tools
Comparing version 3.0.0-pre.11 to 3.0.0-pre.12
@@ -1,4 +0,4 @@ | ||
import '../../polymer/polymer.js'; | ||
import '@polymer/polymer/polymer-legacy.js'; | ||
import { IronFormElementBehavior } from '../iron-form-element-behavior.js'; | ||
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js'; | ||
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js'; | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import '../../polymer/polymer.js'; | ||
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js'; | ||
import '@polymer/polymer/polymer-legacy.js'; | ||
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import '../polymer/polymer.js'; | ||
import { Element } from '../polymer/polymer-element.js'; | ||
import '@polymer/polymer/polymer-legacy.js'; | ||
import { PolymerElement } from '@polymer/polymer/polymer-element.js'; | ||
@@ -55,10 +55,12 @@ export const IronFormElementBehavior = { | ||
attached: Element ? null : function() { | ||
// Note: the iron-form that this element belongs to will set this | ||
// element's _parentForm property when handling this event. | ||
this.fire('iron-form-element-register'); | ||
attached() { | ||
if (!PolymerElement) { | ||
// Note: the iron-form that this element belongs to will set this | ||
// element's _parentForm property when handling this event. | ||
this.fire('iron-form-element-register'); | ||
} | ||
}, | ||
detached: Element ? null : function() { | ||
if (this._parentForm) { | ||
detached() { | ||
if (!PolymerElement && this._parentForm) { | ||
this._parentForm.fire('iron-form-element-unregister', {target: this}); | ||
@@ -65,0 +67,0 @@ } |
@@ -17,4 +17,4 @@ { | ||
"bower": "^1.8.0", | ||
"@polymer/iron-component-page": "^3.0.0-pre.10", | ||
"@polymer/paper-styles": "^3.0.0-pre.10", | ||
"@polymer/iron-component-page": "3.0.0-pre.12", | ||
"@polymer/paper-styles": "3.0.0-pre.12", | ||
"wct-browser-legacy": "0.0.1-pre.11", | ||
@@ -26,3 +26,3 @@ "@webcomponents/webcomponentsjs": "^1.0.0" | ||
}, | ||
"version": "3.0.0-pre.11", | ||
"version": "3.0.0-pre.12", | ||
"resolutions": { | ||
@@ -37,4 +37,4 @@ "inherits": "2.0.3", | ||
"dependencies": { | ||
"@polymer/polymer": "^3.0.0-pre.10" | ||
"@polymer/polymer": "3.0.0-pre.12" | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
import '../../polymer/polymer.js'; | ||
import '@polymer/polymer/polymer-legacy.js'; | ||
import { IronFormElementBehavior } from '../iron-form-element-behavior.js'; | ||
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js'; | ||
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js'; | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import '../../polymer/polymer.js'; | ||
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js'; | ||
import '@polymer/polymer/polymer-legacy.js'; | ||
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js'; | ||
@@ -4,0 +4,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
21123
16
195
+ Added@polymer/polymer@3.0.0-pre.12(transitive)
+ Added@webcomponents/webcomponentsjs@1.3.3(transitive)
- Removed@polymer/polymer@3.5.2(transitive)