You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/pages/drilldown-menu.md
+70
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,76 @@ Any `<a>` without a submenu will function like a normal link.
73
73
<li><ahref="#Item-4"> Item 4</a></li>
74
74
</ul>
75
75
76
+
## autoHeight
77
+
78
+
<divclass="secondary callout">
79
+
<p>If you like to set the height to auto you can also set the autoHeight and animateHeight params</p>
80
+
<buttonclass="button expanded"onclick="$('#m3').foundation('destroy');if($('#m3').data('autoHeight')){$('#m3').data('autoHeight',false);$(this).html('autoHeight is Off');}else{$('#m3').data('autoHeight',true);$(this).html('autoHeight is On');}newFoundation.Drilldown($('#m3'));returnfalse;">autoHeight is On</button>
<divclass="callout">Scroll to the top of the menu when selecting a submenu/navigating back using the menu back button. Can be useful with a longer menu to provide a better user experience.</div>
0 commit comments