Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Paper tab listens for down event and explicitly fires ripple down/up.#27

Open
rgthree wants to merge 1 commit intogooglearchive:masterfrom
rgthree:master
Open

Paper tab listens for down event and explicitly fires ripple down/up.#27
rgthree wants to merge 1 commit intogooglearchive:masterfrom
rgthree:master

Conversation

@rgthree
Copy link

@rgthree rgthree commented Sep 23, 2014

This pull request allows us to interact with developer's tab content as a developer would expect removing the pointer-event: none currently applied and explicitly calling the ripple's down/upAction with the current event.

Specifically, this allows us (me) to use html anchor tags within the paper-tabs' content to take advantage of the browser's natural navigation system (and avoid an unnecessary click listener just to update window.location). I'm using it, and thought I would share.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shadow descendants with ID attributes are accessible on this.$: this.$.ink.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants