Packages

class HLJS extends StatefulSnippet with Loggable

Hightlight JS Snippet

This snippet class contains a collection of functions for common transform operations useful when working with the Higlight toolkit components. Example Invoke with

data-lift="FoBo.JLJS.functionName?paramName=paramValue&...."

For more examples see the individual transform functions.

Since

v1.6

Linear Supertypes
Loggable, StatefulSnippet, DispatchSnippet, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HLJS
  2. Loggable
  3. StatefulSnippet
  4. DispatchSnippet
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HLJS()

Type Members

  1. type DispatchIt = PartialFunction[String, (NodeSeq) ⇒ NodeSeq]
    Definition Classes
    DispatchSnippet

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addName(name: String): Unit
    Definition Classes
    StatefulSnippet
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def dispatch: PartialFunction[String, (NodeSeq) ⇒ NodeSeq]
    Definition Classes
    HLJS → DispatchSnippet
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  13. def initHighlightingOnLoad: CssSel

    Lift 3+ only -- This function initiates the Higlight code sections by appending a script snippet to lift's page-script on page load function.

    Lift 3+ only -- This function initiates the Higlight code sections by appending a script snippet to lift's page-script on page load function.

    Example

    <script data-lift="FoBo.HLJS.initHighlightingOnLoad"></script>

    Result: This example will result in the following being appended to lift's page-script on page load function:

    $('pre code').each(function(i, block) { hljs.highlightBlock(block); });
    Since

    v1.6

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def link(to: String, func: () ⇒ Any, body: NodeSeq, attrs: liftweb.http.SHtml.ElemAttr*): Elem
    Definition Classes
    StatefulSnippet
  16. val logger: Logger
    Attributes
    protected
    Definition Classes
    Loggable
    Annotations
    @transient()
  17. def names: Set[String]
    Definition Classes
    StatefulSnippet
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. def redirectTo(where: String): Nothing
    Definition Classes
    StatefulSnippet
  22. def registerThisSnippet(): Unit
    Definition Classes
    StatefulSnippet
  23. def seeOther(where: String): Nothing
    Definition Classes
    StatefulSnippet
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def unregisterThisSnippet(): Unit
    Definition Classes
    StatefulSnippet
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Loggable

Inherited from StatefulSnippet

Inherited from DispatchSnippet

Inherited from AnyRef

Inherited from Any

Ungrouped