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.
- The class or id of the element for which the dropdown component should be activated.
net.liftweb.http.js.JsCmd
v1.4
This function returns a script that sets a manual carousel action.
This function returns a script that sets a manual carousel action.
- The id of the element for which the carousel should occur
- cycle || pause || prev || next || number
net.liftweb.http.js.JsCmd
v1.4
This function returns a script that sets a carousel action.
This function returns a script that sets a carousel action.
- The id of the element for which the carousel should occur
- A string list of carousel options
net.liftweb.http.js.JsCmd
v1.4
This function returns a script that sets a manual collapse action.
This function returns a script that sets a manual collapse action.
- The id of the element for which the collapse should occur
- toggle || show || hide
net.liftweb.http.js.JsCmd
v1.4
This function returns a script that sets a collapse action.
This function returns a script that sets a collapse action.
- The id of the element for which the collapse should occur
- A string list of collapse options
net.liftweb.http.js.JsCmd
v1.4
This function returns a script that sets a dropdown action.
This function returns a script that sets a dropdown action.
- The class or id of the element for which the dropdown component should be activated.
net.liftweb.http.js.JsCmd
v1.4
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.
v1.4
This function returns a script that sets a manual modal action.
This function returns a script that sets a manual modal action.
- The id of the element for which the modal should occur
- toggle || show || hide || handleUpdate
net.liftweb.http.js.JsCmd
v1.4
This function returns a script that sets a modal action.
This function returns a script that sets a modal action.
- The id of the element for which the modal should occur
- A string list of modal options
net.liftweb.http.js.JsCmd
v1.4
This function returns a script that sets a manual popover action.
This function returns a script that sets a manual popover action.
- The id of the element for which the popover should occur
- toggle || show || hide
net.liftweb.http.js.JsCmd
v1.4
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.
- Can be a id attribute or something more general like the default a[rel=popover]
net.liftweb.http.js.JsCmd
v1.4
This function returns a script that will sets a popover action.
This function returns a script that will sets a popover action.
- The id of the element for which the popover should occur
- A string list of popover options
net.liftweb.http.js.JsCmd
v1.4
This function creates a register load event factory script.
This function creates a register load event factory script.
v1.4
This function returns a script that sets a scrollspy action.
This function returns a script that sets a scrollspy action.
- The id of the element for which the scrollspy should occur
- A string list of scrollspy options
net.liftweb.http.js.JsCmd
v1.4
This function returns a script that sets a manual tooltip action.
This function returns a script that sets a manual tooltip action.
- The id of the element for which the tooltip should occur
- toggle || show || hide
net.liftweb.http.js.JsCmd
v1.4
This function creates a script that sets a tooltip action.
This function creates a script that sets a tooltip action.
- The id of the element for which the tooltip should occur
- A string list of tooltip options
net.liftweb.http.js.JsCmd
v1.4
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.
- The class or id of the element for which the dropdown component should be activated.
scala.xml.Node
(Since version 1.4.0) Use the activateDropdownScript function and wrap it in JsCmds.Script
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.
(Since version 1.4.0) Use the loadEventScript function and wrap it in JsCmds.Script
This function sets a carousel action on a element.
This function sets a carousel action on a element.
- The id of the element for which the carousel should occur
- A string list of carousel options
scala.xml.Node
(Since version 1.4.0) Use the carouselSript function and wrap it in JsCmds.Script
This function sets a manual carousel action on a element.
This function sets a manual carousel action on a element.
- The id of the element for which the carousel should occur
- cycle || pause || prev || next || number
scala.xml.Node
(Since version 1.4.0) Use the carouselManualActionScript function and wrap it in JsCmds.Script
This function sets a collapse action on a element.
This function sets a collapse action on a element.
- The id of the element for which the collapse should occur
- A string list of collapse options
scala.xml.Node
(Since version 1.4.0) Use the collapseScript function and wrap it in JsCmds.Script
This function sets a manual collapse action on a element.
This function sets a manual collapse action on a element.
- The id of the element for which the collapse should occur
- toggle || show || hide
scala.xml.Node
(Since version 1.4.0) Use the collapseManualActionScript function and wrap it in JsCmds.Script
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.
- The id of the element for which the modal should occur
- A string list of modal options
scala.xml.Node
(Since version 1.4.0) Use the modalScript function and wrap it in JsCmds.Script
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.
- The id of the element for which the modal should occur
- toggle || show || hide || handleUpdate
scala.xml.Node
(Since version 1.4.0) Use the modalManualActionScript function and wrap it in JsCmds.Script
This function sets a popover action on a element.
This function sets a popover action on a element.
- The id of the element for which the popover should occur
- A string list of popover options
scala.xml.Node
(Since version 1.4.0) Use the popoverScript function and wrap it in JsCmds.Script
This function sets a manual popover action on a element.
This function sets a manual popover action on a element.
- The id of the element for which the popover should occur
- toggle || show || hide
scala.xml.Node
(Since version 1.4.0) Use the popoverManualActionScript function and wrap it in JsCmds.Script
This function prevents default action for a click on a popover.
This function prevents default action for a click on a popover.
- Can be a id attribute or something more general like the default a[rel=popover]
scala.xml.Node
(Since version 1.4.0) Use the popoverPreventDefaultScript function and wrap it in JsCmds.Script
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.
(Since version 1.4.0) Use the registerLoadEventFactoryScript function and wrap it in JsCmds.Script
If you are using Lift 3 you should use the AppendGlobalJs alternative.
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.
- The id of the element for which the scrollspy should occur
- A string list of scrollspy options
scala.xml.Node
(Since version 1.4.0) Use the scrollspyScript function and wrap it in JsCmds.Script
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.
- The id of the element for which the tooltip should occur
- A string list of tooltip options
scala.xml.Node
(Since version 1.4.0) Use the tooltipScript function and wrap it in JsCmds.Script
This function sets a manual tooltip action on a element.
This function sets a manual tooltip action on a element.
- The id of the element for which the tooltip should occur
- toggle || show || hide
scala.xml.Node
(Since version 1.4.0) Use the tooltipManualActionScript function and wrap it in JsCmds.Script
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.
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.