Object

net.liftmodules.FoBoBsAPI

BSLocInfo

Related Doc: package FoBoBsAPI

Permalink

object BSLocInfo

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(...) >> FoBoBs.BsLocInfo.Divider,
 :
//add a vertical menu divider
divider2 >> LocGroup(...) >> FoBoBs.BsLocInfo.DividerVertical,
 :
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BSLocInfo
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val Divider: LocInfo[String]

    Permalink

    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") >> FoBoBs.BSLocInfo.NavHeader,
      index >> LocGroup("top","nl1",...),
       :
      ddLabel >> LocGroup("top",...)  >> PlaceHolder submenus(
          about ,
          divider2 >> FoBoBs.BSLocInfo.Divider,
          contact,
          feedback
          )
    )
  5. val DividerVertical: LocInfo[String]

    Permalink

    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.

  6. val LinkTargetBlank: LocInfo[String]

    Permalink

    Adds target="_blank" to the link

    Adds target="_blank" to the link

    Since

    v1.2

  7. val LinkTargetParent: LocInfo[String]

    Permalink

    Adds target="_parent" to the link

    Adds target="_parent" to the link

    Since

    v1.2

  8. val LinkTargetSelf: LocInfo[String]

    Permalink

    Adds target="_self" to the link

    Adds target="_self" to the link

    Since

    v1.2

  9. val LinkTargetTop: LocInfo[String]

    Permalink

    Adds target="_top" to the link

    Adds target="_top" to the link

    Since

    v1.2

  10. val NavHeader: LocInfo[String]

    Permalink

    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.

  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped