Skip to content

Commit

Permalink
Add @OverRide, remove @attribute/@group/@hero/@homepage (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks authored Jun 19, 2019
1 parent 5f8c734 commit 2943279
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions paper-tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ This element applies the mixin `--paper-font-common-base` but does not import
element, make sure you've imported `paper-styles/typography.html`.
*/
Polymer({
/** @override */
_template: html`
<style>
:host {
Expand Down Expand Up @@ -131,6 +132,7 @@ Polymer({

listeners: {down: '_updateNoink', tap: '_onTap'},

/** @override */
attached: function() {
this._updateNoink();
},
Expand Down
4 changes: 4 additions & 0 deletions paper-tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ Custom property | Description | Default
@demo demo/index.html
*/
Polymer({
/** @override */
_template: html`
<style>
:host {
Expand Down Expand Up @@ -317,6 +318,7 @@ Polymer({
*/
keyBindings: {'left:keyup right:keyup': '_onArrowKeyup'},

/** @override */
created: function() {
this._holdJob = null;
this._pendingActivationItem = undefined;
Expand All @@ -326,10 +328,12 @@ Polymer({
this.addEventListener('blur', this._onBlurCapture.bind(this), true);
},

/** @override */
ready: function() {
this.setScrollDirection('y', this.$.tabsContainer);
},

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

0 comments on commit 2943279

Please sign in to comment.