webcomponents.org icon indicating copy to clipboard operation
webcomponents.org copied to clipboard

Cannot click on behaviors

Open e111077 opened this issue 9 years ago • 3 comments

When you go to the API of an element that has a behavior, clicking on the behavior does not do anything.

Repro:

  1. Go to an Polymer.FirebaseDatabaseBehavior
  2. Click on Polymer.AppStorageBehavior at the bottom

e111077 avatar Oct 13 '16 10:10 e111077

Oops, meant to close #345 not this.

samuelli avatar Nov 03 '16 01:11 samuelli

I should stop linking the wrong issue...

samuelli avatar Nov 03 '16 09:11 samuelli

Looking at this it seems polymer-analyzer, formally hydrolysis, reports if something is inherited but doesn't say specifically where it was inherited from. We do have a list of dependencies so could look through the list until we find the behaviour we're looking for, though that could cause a slowdown.

I'm using this as my reference material.

In the initial example, you'd want

online-changed: CustomEvent
Inherited from Polymer.AppNetworkStatusBehavior

To link from Polymer.FirebaseDatabaseBehavior to Polymer.AppNetworkStatusBehavior

Perhaps it would be best to make a change to, or raise an issue with, polymer-analyzer to add which dependency the inherited behaviour comes from? Then we can work out the correct URL quite easily.

Link2Twenty avatar Jan 05 '18 11:01 Link2Twenty