net.liftmodules

FoBoTB

package FoBoTB

FoBo Twitter Bootstrap Toolkit Module

This FoBo toolkit module provides Twitter Bootstrap v2.x API and Resource components to the FoBo / FoBo Module, but can also be used as-is, see below for setup information.

If you are using this module via the FoBo/FoBo artifact module see also net.liftmodules.FoBo for setup information.

Example:
  1. To initiate this module for usage in your Lift project set something like the following in your projects Lift bootstrap.liftweb.Boot boot method.

    import net.liftmodules.{FoBoTB => FoBo}
     :
     :
    FoBo.Toolkit.Init=FoBo.Toolkit.Bootstrap232 //or any other toolkit object

    You may substitute Toolkit for Resource or API and if you wish also adjust the artifact dependencies accordingly to include just the FoBo modules you use.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FoBoTB
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait API extends AnyRef

    Initiate FoBo's Bootstrap 3 API in you bootstrap liftweb Boot.

    Initiate FoBo's Bootstrap 3 API in you bootstrap liftweb Boot.

    Example:

    import net.liftmodules.{FoBoTB => FoBo}
     :
    FoBo.API.Init=FoBo.API.[API Object]

    Note: To see available objects click on the round trait icon in the header of this page.

  2. sealed trait Resource extends AnyRef

    Initiate FoBo's Bootstrap 2 Resource(s) in you bootstrap liftweb Boot.

    Initiate FoBo's Bootstrap 2 Resource(s) in you bootstrap liftweb Boot.

    Example:

    import net.liftmodules.{FoBoTB => FoBo}
     :
    FoBo.Resource.Init=FoBo.Resource.[Resource Object]

    Note: To see available objects click on the round trait icon in the header of this page.

  3. sealed trait Toolkit extends AnyRef

    Initiate FoBo's Bootstrap 2 Toolkit in you bootstrap liftweb Boot.

    Initiate FoBo's Bootstrap 2 Toolkit in you bootstrap liftweb Boot. Using the Toolkit initiation you will bring in both the toolkit's resources and the FoBo/Lift API associated with the toolkit.

    Example:

    import net.liftmodules.{FoBoTB => FoBo}
     :
    FoBo.Toolkit.Init=FoBo.Toolkit.[Toolkit Object]

    Note: To see available objects click on the round trait icon in the header of this page.

  4. sealed trait FoBoToolkit extends AnyRef

    Annotations
    @deprecated
    Deprecated

    (Since version 1.6.0) Use FoBoTB.Toolkit or FoBoTB.Resource and FoBoTB.API

Value Members

  1. object API extends API

  2. object Resource extends Resource

  3. object TBLocInfo

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

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

    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(...) >> FoBoTB.TBLocInfo.Divider,
     :
    //add a vertical menu divider
    divider2 >> LocGroup(...) >> FoBoTB.TBLocInfo.DividerVertical,
     :
  4. object Toolkit extends Toolkit

  5. def toString(): String

    Definition Classes
    FoBoTB → AnyRef → Any

Deprecated Value Members

  1. object Bootstrap232 extends FoBoToolkit with Product with Serializable

    Enable usage of Twitter Bootstrap version 2․3․2 in your bootstrap liftweb Boot.

    Enable usage of Twitter Bootstrap version 2․3․2 in your bootstrap liftweb Boot.

    Annotations
    @deprecated
    Deprecated

    (Since version 1.6.0) Use FoBoTB.Toolkit.Init=FoBoTB.Toolkit.Bootstrap232

    Version

    2.3.2

    Example

    FoBoTB.InitParam.ToolKit=FoBoTB.Bootstrap232
  2. object InitParam extends FoBoToolkit

    Enable Toolkit(s)/JQuery options for the FoBo module in your bootstrap liftweb Boot.

    Enable Toolkit(s)/JQuery options for the FoBo module in your bootstrap liftweb Boot.

    Example:

    FoBoTB.InitParam.JQuery=FoBoTB.JQuery172
    FoBoTB.InitParam.ToolKit=FoBoTB.Bootstrap232

    This example uses the Bootstrap v2.3.2 option.

    Annotations
    @deprecated
    Deprecated

    (Since version 1.6.0) Use FoBoTB.Toolkit.Init=FoBoTB.Toolkit.[Toolkit Object]

  3. def init(): Unit

    Annotations
    @deprecated
    Deprecated

    (Since version 1.6.0) Init no longer nessesary as it is now automaticaly done for respective FoBoTB.InitParam

    Example:
    1. In bootstrap liftweb Boot set

      FoBoTB.init()

      The above example just calls init without specifying fobo init params so default Toolkit and JQuery values will be used.

Inherited from AnyRef

Inherited from Any

Ungrouped