net.liftmodules.FoBoTB.lib

BootstrapSH

class BootstrapSH extends ScriptHelper

Script Helper Bootstrap v2.x

Bootstrap script helper is a helper class that implements some commonly used bootstrap component init/usage script functions. This convenience script functions is used in the net.liftmodules.FoBoTB.snippet.FoBo.Bootstrap snippet but can also be used as a convenience helper in your own customized snippets.

Example:
  1. If you find that the net.liftmodules.FoBoTB.snippet.FoBo.Bootstrap snippet dose not fit you exact needs your can still use the BootstrapSH class to customize your own project snippets.

    import net.liftmodules.FoBo.lib.{BootstrapSH=>sch}
     :
    class MySnippet {
    
      lazy val sch = new sch()
    
      def someFunc = {
        :
        sch.fobohelper(...)
        :
      }
      :
    }
Linear Supertypes
ScriptHelper, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BootstrapSH
  2. ScriptHelper
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BootstrapSH()

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. def activateDropdown(on: String): Node

    This function will add a load event to activate the dropdown component for a given id.

    This function will add a load event to activate the dropdown component for a given id.

    on

    - The class or id of the element for which the dropdown component should be activated.

  7. def addLoadEvent(event: String): Node

    This function adds a specific load event to the load event factory function.

    This function adds a specific load event to the load event factory function.

    Definition Classes
    ScriptHelper
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def carousel(id: String, options: String = ""): Node

    This function sets a carousel action on a element.

    This function sets a carousel action on a element.

    id

    - The id of the element for which the carousel should occur

    options

    - A string list of carousel options

  10. def carouselManualAction(id: String, action: String = ""): Node

    This function sets a manual carousel action on a element.

    This function sets a manual carousel action on a element.

    id

    - The id of the element for which the carousel should occur

    action

    - cycle || pause || prev || next || number

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def collapse(id: String, options: String = ""): Node

    This function sets a collapse action on a element.

    This function sets a collapse action on a element.

    id

    - The id of the element for which the collapse should occur

    options

    - A string list of collapse options

  13. def collapseManualAction(id: String, action: String = ""): Node

    This function sets a manual collapse action on a element.

    This function sets a manual collapse action on a element.

    id

    - The id of the element for which the collapse should occur

    action

    - toggle || show || hide

  14. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  20. def modal(id: String, options: String = ""): Node

    This function sets a modal action on a element.

    This function sets a modal action on a element.

    id

    - The id of the element for which the modal should occur

    options

    - A string list of modal options

  21. def modalManualAction(id: String, action: String = ""): Node

    This function sets a manual modal action on a element.

    This function sets a manual modal action on a element.

    id

    - The id of the element for which the modal should occur

    action

    - toggle || show || hide

  22. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  25. def popover(id: String, options: String = ""): Node

    This function sets a popover action on a element.

    This function sets a popover action on a element.

    id

    - The id of the element for which the popover should occur

    options

    - A string list of popover options

  26. def popoverManualAction(id: String, action: String = ""): Node

    This function sets a manual popover action on a element.

    This function sets a manual popover action on a element.

    id

    - The id of the element for which the popover should occur

    action

    - toggle || show || hide

  27. def popoverPreventDefault(on: String = "a[rel=popover]"): Node

    This function prevents default action for a click on a popover.

    This function prevents default action for a click on a popover.

    on

    - Can be a id attribute or something more general like the default a[rel=popover]

  28. def registerLoadEventFactory(): Node

    This function creates a register load event factory function.

    This function creates a register load event factory function.

    Definition Classes
    ScriptHelper
  29. def scrollspy(id: String, options: String = ""): Node

    This function sets a scrollspy action on a element.

    This function sets a scrollspy action on a element.

    id

    - The id of the element for which the scrollspy should occur

    options

    - A string list of scrollspy options

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def tooltip(id: String, options: String = ""): Node

    This function sets a tooltip action on a element.

    This function sets a tooltip action on a element.

    id

    - The id of the element for which the tooltip should occur

    options

    - A string list of tooltip options

  33. def tooltipManualAction(id: String, action: String = ""): Node

    This function sets a manual tooltip action on a element.

    This function sets a manual tooltip action on a element.

    id

    - The id of the element for which the tooltip should occur

    action

    - toggle || show || hide

  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from ScriptHelper

Inherited from AnyRef

Inherited from Any

Ungrouped