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

Markup/options for lazy loaded elements #139

Open
NicolasRannou opened this issue Jun 20, 2016 · 2 comments
Open

Markup/options for lazy loaded elements #139

NicolasRannou opened this issue Jun 20, 2016 · 2 comments

Comments

@NicolasRannou
Copy link

Is there some special options/markup for lazy loaded elements?

I want to use poly lint as part of my testing pipeline but it now reports error on lazy loaded pages:
Same as the app-drawer-temaplte (https://github.com/Polymer/app-drawer-template)

/src/my-app.html:95:11
    <my-view1> is undefined.
/src/my-app.html:96:11
    <my-view2> is undefined.
/src/my-app.html:97:11
    <my-view3> is undefined.
@tjmonsi
Copy link

tjmonsi commented Jul 7, 2016

Have you guys found a solution for this?

@chuckh
Copy link

chuckh commented Jul 26, 2016

Have same issue with PSK2 lazy loaded pages such as <psk-page-home> is undefined. Below is PSK2 output from polylint.

/bower_components/app-layout/app-drawer-layout/app-drawer-layout.html:149:3
    Property isAttached not found in 'properties' for element 'app-drawer-layout'
/bower_components/app-layout/app-drawer/app-drawer.html:173:3
    Property isAttached not found in 'properties' for element 'app-drawer'
/bower_components/app-layout/app-drawer/app-drawer.html:173:3
    Property isAttached not found in 'properties' for element 'app-drawer'
/bower_components/app-layout/app-header/app-header.html:319:3
    Property isAttached not found in 'properties' for element 'app-header'
/bower_components/app-layout/app-header-layout/app-header-layout.html:125:3
    Property isAttached not found in 'properties' for element 'app-header-layout'
/src/psk-app.html:138:9
    <psk-page-home> is undefined.
/src/psk-app.html:139:9
    <psk-page-about> is undefined.
/src/psk-app.html:140:9
    <psk-page-404> is undefined.

chuckh added a commit to Polymer/polymer-starter-kit that referenced this issue Jul 26, 2016
Uncomment once `polylint` is fixed to handle lazy loaded elements. See
googlearchive/polylint#139
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants