File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1010 image: "blog-scrabble.png"
1111 }
1212 ]}`>
13- <Button variant="ghost" label="toggle threshold" padding="$space-1" onClick="toggleThreshold()" />
13+ <!--
14+ <HStack verticalAlignment="center">
15+ <Button variant="ghost" label="toggle showNav" onClick="toggleThreshold()" />
16+ <Text>{showNav()}</Text>
17+ </HStack>
18+ -->
1419 <AppState
1520 id="navState"
1621 initialValue="{{
3237 </Link>
3338 </property>
3439 </AppHeader>
35- <NavPanel when="{showNav()}" >
40+ <NavPanel when="{showNav()}">
3641 <NavGroup label="Recent posts" to="/blog">
3742 <NavLink
3843 label="Welcome to the XMLUI blog!"
Original file line number Diff line number Diff line change 11function showNav () {
2- return posts .length > showNavPanelThreshold && mediaSize . sizeIndex > 2 ;
2+ return posts .length > showNavPanelThreshold ;
33}
44
55function toggleThreshold () {
You can’t perform that action at this time.
0 commit comments