net.liftmodules.FoBoTB

TBLocInfo

object TBLocInfo

Extends your Lift SiteMap with various common bootstrap menu manipulations such as horizontal and vertical menu dividers and menu labels (labels coming soon).

This object should be used in conjunction with the TB* menu builder objects in net.liftmodules.FoBo.snippet.FoBo snippet's.

Example:

:
//add a horizontal menu divider
divider1 >> LocGroup(...) >> FoBo.TBLocInfo.Divider,
 :
//add a vertical menu divider
divider2 >> LocGroup(...) >> FoBo.TBLocInfo.DividerVertical,
 :
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TBLocInfo
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val Divider: LocInfo[String]

    Provides a way to specify a horizontal divider for your bootstrap menu in Lift's SiteMap.

    Provides a way to specify a horizontal divider for your bootstrap menu in Lift's SiteMap.

    Example:

    val index            = Menu.i("Home") / "index"
         :
    val about            = Menu.i("About") / "about"
    val divider2         = Menu("divider2") / "divider2" //dummy entry only showing a menu divider
    val navHeader1       = Menu.i("navHeader1") / "navHeader1" //Adds a header (label) to your FoBo.NavList
    
    def sitemap = SiteMap(
      navHeader1 >> LocGroup("nl1") >> FoBoTB.TBLocInfo.NavHeader,
      index >> LocGroup("top","nl1",...),
       :
      ddLabel >> LocGroup("top",...)  >> PlaceHolder submenus(
          about ,
          divider2 >> FoBo.TBLocInfo.Divider,
          contact,
          feedback
          )
    )
  7. val DividerVertical: LocInfo[String]

    Add a vertical divider in your bootstrap menu.

    Add a vertical divider in your bootstrap menu. For a usage example see the Divider val above.

  8. val NavHeader: LocInfo[String]

    Add nav header(s) to your bootstrap nav list.

    Add nav header(s) to your bootstrap nav list. For a usage example see the NavHeader val above.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped