mip-nav-slidedown menu
mip-nav-slidedown implements a responsive menu, which is quoted on the mip official website
Example
Add content in the following format, <a>
can be replaced by <mip-link>
<div class="mip-nav-wrapper"> <mip-nav-slidedown data-id="bs-navbar" class="mip-element-sidebar container" data-showbrand="1"> <nav id="bs-navbar" class="navbar-collapse collapse navbar navbar-static-top"> <ul class="nav navbar-nav navbar-right"> <li class="index-body"> <a target="_blank" href="//www.mipengine.org/">首页</a> </li> <li class="doc-body"> <a target="_blank" href="//www.mipengine.org/doc/00-mip-101.html">教程</a> </li> <li class="timeline-body"> <a target="_blank" href="//www.mipengine.org/timeline.html">动态</a> </li> <li class=""> <a target="_blank" href="http://www.cnblogs.com/mipengine/" target="_blank">博客</a> </li> <li class="navbar-wise-close"> <span id="navbar-wise-close-btn"></span> </li> </ul> </nav> </mip-nav-slidedown> </div>
Attribute
data-id
Description: Internal menu id
Required option: Yes
Type: String
data-showbrand
Description: Whether a clickable icon needs to be displayed in the upper left corner
Required option: No
Type: string, 0 (not displayed), 1 (displayed)
Default value: 1
data-brandhref
Description: icon jump link in the upper left corner, in data Valid when -showbrand is 1
Required option: No
Type: url
Default:'/'