From 16b4ac0d8fd5fd2aa588a8b486b71b449e3821ca Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 27 Jul 2012 10:35:15 -0700 Subject: add docs for sub menu support on dropdowns, add caret via :after to submenu toggles --- docs/components.html | 55 ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 43 insertions(+), 12 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index c36eec940..719a9e874 100644 --- a/docs/components.html +++ b/docs/components.html @@ -122,16 +122,7 @@
  • Another action
  • Something else here
  • - +
  • Separated link
  • @@ -162,10 +153,50 @@

    Options

    -

    ...

    +

    Align menus to the right and add include additional levels of dropdowns.

    Aligning the menus

    -

    ...

    +

    Add .pull-right to a .dropdown-menu to right align the dropdown menu.

    +
    +<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dLabel">
    +  ...
    +</ul>
    +
    + +

    Sub menus on dropdowns

    +

    Add an extra level of dropdown menus, appearing on hover like those of OS X, with some simple markup additions. Add .dropdown-submenu to any li in an existing dropdown menu for automatic styling.

    +
    + +
    +
    +<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
    +  ...
    +  <li class="dropdown-submenu">
    +    <a tabindex="-1" href="#">More options</a>
    +    <ul class="dropdown-menu">
    +      ...
    +    </ul>
    +  </li>
    +</ul>
    +
    + -- cgit v1.2.3