mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-11 01:38:08 +01:00
try to save scroll state
This commit is contained in:
parent
5f84d92eb0
commit
71bdf35418
18
routes/_components/VirtualListLayout.html
Normal file
18
routes/_components/VirtualListLayout.html
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<Nav :page :dynamicPage :dynamicHref :dynamicIcon :dynamicLabel/>
|
||||||
|
|
||||||
|
<VirtualListContainer storeKey="{{dynamicPage || page}}">
|
||||||
|
<main>
|
||||||
|
<slot></slot>
|
||||||
|
</main>
|
||||||
|
</VirtualListContainer>
|
||||||
|
<script>
|
||||||
|
import Nav from './Nav.html';
|
||||||
|
import VirtualListContainer from './VirtualListContainer.html'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
VirtualListContainer,
|
||||||
|
Nav
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
Loading…
Reference in New Issue
Block a user