Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Add @OverRide, remove @attribute/@group/@hero/@homepage (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks authored Jun 19, 2019
1 parent 5cea3e3 commit c65f859
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iron-dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ be hidden until the dropdown element has `opened` set to true, or when the
@demo demo/index.html
*/
Polymer({
/** @override */
_template: html`
<style>
:host {
Expand Down Expand Up @@ -148,6 +149,7 @@ Polymer({
}
},

/** @override */
ready: function() {
// Ensure scrollAction is set.
if (!this.scrollAction) {
Expand All @@ -156,12 +158,14 @@ Polymer({
this._readied = true;
},

/** @override */
attached: function() {
if (!this.sizingTarget || this.sizingTarget === this) {
this.sizingTarget = this.containedElement || this;
}
},

/** @override */
detached: function() {
this.cancelAnimation();
},
Expand Down

0 comments on commit c65f859

Please sign in to comment.