Class

net.liftmodules.FoBoBs.lib

BootstrapSH

Related Doc: package lib

Permalink

class BootstrapSH extends ScriptHelper

Bootstrap Script Helper Bootstrap v3.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.FoBoBs.snippet.FoBo.Bs3Comp snippet but can also be used as a convenience helper in your own customized snippets.

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

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

Instance Constructors

  1. new BootstrapSH()

    Permalink

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. def activateDropdownScript(on: String): JsCmd

    Permalink

    This function returns a script that adds a load event to activate the dropdown component for a given id.

    This function returns a script that adds 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.

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def carouselManualActionScript(id: String, action: String = ""): JsCmd

    Permalink

    This function returns a script that sets a manual carousel action.

    This function returns a script that sets a manual carousel action.

    id

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

    action

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

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

  7. def carouselSript(id: String, options: String = ""): JsCmd

    Permalink

    This function returns a script that sets a carousel action.

    This function returns a script that sets a carousel action.

    id

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

    options

    - A string list of carousel options

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def collapseManualActionScript(id: String, action: String = ""): JsCmd

    Permalink

    This function returns a script that sets a manual collapse action.

    This function returns a script that sets a manual collapse action.

    id

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

    action

    - toggle || show || hide

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

  10. def collapseScript(id: String, options: String = ""): JsCmd

    Permalink

    This function returns a script that sets a collapse action.

    This function returns a script that sets a collapse action.

    id

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

    options

    - A string list of collapse options

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

  11. def dropdownScript(on: String): JsCmd

    Permalink

    This function returns a script that sets a dropdown action.

    This function returns a script that sets a dropdown action.

    on

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

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  18. def loadEventScript(event: String): JsCmd

    Permalink

    This function creates a script that wraps a given event into the addLoadEvent function.

    This function creates a script that wraps a given event into the addLoadEvent function.

    Definition Classes
    ScriptHelper
    Since

    v1.4

  19. def modalManualActionScript(id: String, action: String = ""): JsCmd

    Permalink

    This function returns a script that sets a manual modal action.

    This function returns a script that sets a manual modal action.

    id

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

    action

    - toggle || show || hide || handleUpdate

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

  20. def modalScript(id: String, options: String = ""): JsCmd

    Permalink

    This function returns a script that sets a modal action.

    This function returns a script that sets a modal action.

    id

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

    options

    - A string list of modal options

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def popoverManualActionScript(id: String, action: String = ""): JsCmd

    Permalink

    This function returns a script that sets a manual popover action.

    This function returns a script that sets a manual popover action.

    id

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

    action

    - toggle || show || hide

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

  25. def popoverPreventDefaultScript(on: String = "a[rel=popover]"): JsCmd

    Permalink

    This function returns a script that prevents default action for a click on a popover.

    This function returns a script that 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]

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

  26. def popoverScript(id: String, options: String = ""): JsCmd

    Permalink

    This function returns a script that will sets a popover action.

    This function returns a script that will sets a popover action.

    id

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

    options

    - A string list of popover options

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

  27. def registerLoadEventFactoryScript(): JsCmd

    Permalink

    This function creates a register load event factory script.

    This function creates a register load event factory script.

    Definition Classes
    ScriptHelper
    Since

    v1.4

  28. def scrollspyScript(id: String, options: String = ""): JsCmd

    Permalink

    This function returns a script that sets a scrollspy action.

    This function returns a script that sets a scrollspy action.

    id

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

    options

    - A string list of scrollspy options

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. def tooltipManualActionScript(id: String, action: String = ""): JsCmd

    Permalink

    This function returns a script that sets a manual tooltip action.

    This function returns a script that sets a manual tooltip action.

    id

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

    action

    - toggle || show || hide

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

  32. def tooltipScript(id: String, options: String = ""): JsCmd

    Permalink

    This function creates a script that sets a tooltip action.

    This function creates a script that sets a tooltip action.

    id

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

    options

    - A string list of tooltip options

    returns

    net.liftweb.http.js.JsCmd

    Since

    v1.4

  33. final def wait(): Unit

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

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

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

Deprecated Value Members

  1. def activateDropdown(on: String): Node

    Permalink

    This function returns a inline script that adds a load event to activate the dropdown component for a given id.

    This function returns a inline script that adds 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.

    returns

    scala.xml.Node

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the activateDropdownScript function and wrap it in JsCmds.Script

  2. def addLoadEvent(event: String): Node

    Permalink

    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
    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the loadEventScript function and wrap it in JsCmds.Script

  3. def carousel(id: String, options: String = ""): Node

    Permalink

    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

    returns

    scala.xml.Node

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the carouselSript function and wrap it in JsCmds.Script

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

    Permalink

    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

    returns

    scala.xml.Node

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the carouselManualActionScript function and wrap it in JsCmds.Script

  5. def collapse(id: String, options: String = ""): Node

    Permalink

    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

    returns

    scala.xml.Node

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the collapseScript function and wrap it in JsCmds.Script

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

    Permalink

    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

    returns

    scala.xml.Node

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the collapseManualActionScript function and wrap it in JsCmds.Script

  7. def modal(id: String, options: String = ""): Node

    Permalink

    This function creates a inline script that will sets a modal action on a element.

    This function creates a inline script that will 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

    returns

    scala.xml.Node

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the modalScript function and wrap it in JsCmds.Script

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

    Permalink

    This function creates a inline script that will sets a manual modal action on a element.

    This function creates a inline script that will sets a manual modal action on a element.

    id

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

    action

    - toggle || show || hide || handleUpdate

    returns

    scala.xml.Node

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the modalManualActionScript function and wrap it in JsCmds.Script

  9. def popover(id: String, options: String = ""): Node

    Permalink

    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

    returns

    scala.xml.Node

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the popoverScript function and wrap it in JsCmds.Script

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

    Permalink

    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

    returns

    scala.xml.Node

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the popoverManualActionScript function and wrap it in JsCmds.Script

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

    Permalink

    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]

    returns

    scala.xml.Node

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the popoverPreventDefaultScript function and wrap it in JsCmds.Script

  12. def registerLoadEventFactory(): Node

    Permalink

    This function creates a register load event factory function and injects it in place of the invocation.

    This function creates a register load event factory function and injects it in place of the invocation.

    Definition Classes
    ScriptHelper
    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the registerLoadEventFactoryScript function and wrap it in JsCmds.Script

    Note

    If you are using Lift 3 you should use the AppendGlobalJs alternative.

  13. def scrollspy(id: String, options: String = ""): Node

    Permalink

    This function creates a script that sets a scrollspy action on a element.

    This function creates a script that 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

    returns

    scala.xml.Node

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the scrollspyScript function and wrap it in JsCmds.Script

  14. def tooltip(id: String, options: String = ""): Node

    Permalink

    This function creates a script that sets a tooltip action on a element.

    This function creates a script that 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

    returns

    scala.xml.Node

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the tooltipScript function and wrap it in JsCmds.Script

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

    Permalink

    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

    returns

    scala.xml.Node

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Use the tooltipManualActionScript function and wrap it in JsCmds.Script

Inherited from ScriptHelper

Inherited from AnyRef

Inherited from Any

Ungrouped