Closed devAtPolydeals closed 9 years ago
I'm wondering myself... The other list-card-over example (https://github.com/PolymerElements/app-layout-templates/blob/master/list-card-over/src/x-app.html) does have a media query element which binds the value of _isMobile:
But I'm not sure how this works in nav-list-detail because I don't see such a query. Weird.
paper-drawer-panel
has a narrow
property and _isMobile
is bind to that to know when the drawer is in narrow layout.
@frankiefu so based on responsive-width="600px" it makes narrow = true and that inturn makes isMobile = true correct?
@devAtPolydeals yes, that's correct.
cool thanks @frankiefu :+1:
I see at https://github.com/PolymerElements/app-layout-templates/blob/master/nav-list-detail/src/x-app.html#L38 there is a function call [[_computeListWidth(_isMobile)]] ; how does it know the value of isMobile, who populates it? I don't see any media-query hence am confused.