Skip to content

Commit

Permalink
Merge pull request #183 from PolymerElements/compile
Browse files Browse the repository at this point in the history
Add @OverRide, remove @attribute/@group/@hero/@homepage
  • Loading branch information
aomarks authored Jun 19, 2019
2 parents c690894 + e2582a9 commit c682f5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iron-selectable.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,16 +143,19 @@ export const IronSelectableBehavior = {
'_checkFallback(fallbackSelection)'
],

/** @override */
created: function() {
this._bindFilterItem = this._filterItem.bind(this);
this._selection = new IronSelection(this._applySelection.bind(this));
},

/** @override */
attached: function() {
this._observer = this._observeItems(this);
this._addListener(this.activateEvent);
},

/** @override */
detached: function() {
if (this._observer) {
dom(this).unobserveNodes(this._observer);
Expand Down
1 change: 1 addition & 0 deletions iron-selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Example:
Polymer({

is: 'iron-selector',
/** @override */
_template: null,

behaviors: [IronMultiSelectableBehavior]
Expand Down

0 comments on commit c682f5c

Please sign in to comment.