TwitterBootstrapMvc
TwitterBootstrapMvc copied to clipboard
PrependIcon with Dropdown
Hi,
Great work Dmitry, been a massive timesaver for us.
I was wondering if anyone has any suggestion for being able to prepend an icon to a dropdown when it's being used in the context of the stacked side menu ?
Thanks
John
could you please provide example of the code that you have and that you'd like to have?
<ul class="sidebar-menu">
<li class="treeview">
<a href="#">
<i class="fa fa-bar-chart-o"></i>
<span>Charts</span>
<i class="fa fa-angle-left pull-right"></i>
</a>
<ul class="treeview-menu">
<li><a href="pages/charts/morris.html"><i class="fa fa-angle-double-right"></i> Morris</a></li>
<li><a href="pages/charts/flot.html"><i class="fa fa-angle-double-right"></i> Flot</a></li>
<li><a href="pages/charts/inline.html"><i class="fa fa-angle-double-right"></i> Inline charts</a></li>
</ul>
</li>
</ul>
Adding the PrependIcon and AppendIcon APIs to the DropDown and SubNav classes should be enough
looking for the same here :)