Packages

case class JqAttr(key: String, value: JsExp) extends JsExp with JsMember with Product with Serializable

Calls the jQuery attr function with the given key and the given value.

Used to set the given attribute to the given value.

See http://api.jquery.com/attr/ .

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JqAttr
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. JsMember
  7. JsExp
  8. ToJsCmd
  9. HtmlFixer
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JqAttr(key: String, value: JsExp)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(right: JsExp): JsExp
    Definition Classes
    JsExp
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def ===(right: JsExp): JsExp
    Definition Classes
    JsExp
  6. def appendToParent(parentName: String): JsCmd
    Definition Classes
    JsExp
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def cmd: JsCmd
    Definition Classes
    JsExp
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(other: Any): Boolean
    Definition Classes
    JsExp → AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fixHtmlAndJs(uid: String, content: NodeSeq, forceExtractInlineJavaScript: Option[Boolean] = None): (String, List[JsCmd])

    Super important...

    Super important... call fixHtml at instance creation time and only once This method must be run in the context of the thing creating the XHTML to capture the bound functions

    Attributes
    protected
    Definition Classes
    HtmlFixer
  14. def fixHtmlCmdFunc(uid: String, content: NodeSeq)(f: (String) ⇒ String): String

    Calls fixHtmlAndJs and if there's embedded script tags, append the JsCmds to the String returned from applying the function to the enclosed HTML.

    Calls fixHtmlAndJs and if there's embedded script tags, append the JsCmds to the String returned from applying the function to the enclosed HTML. For use when converting a JsCmd that contains HTML.

    Definition Classes
    HtmlFixer
  15. def fixHtmlFunc(uid: String, content: NodeSeq)(f: (String) ⇒ String): String

    Calls fixHtmlAndJs and if there's embedded script tags, construct a function that executes the contents of the scripts then evaluations to Expression.

    Calls fixHtmlAndJs and if there's embedded script tags, construct a function that executes the contents of the scripts then evaluations to Expression. For use when converting a JsExp that contains HTML.

    Definition Classes
    HtmlFixer
    Note

    Currently, fixHtmlFunc does not do event extraction, even when LiftRules.extractInlineJavaScript is true, due to poor interactions with JsExp usage. This will be fixed in a future Lift release; see https://github.com/lift/framework/issues/1801 .

  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val key: String
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toJsCmd: String
    Definition Classes
    JqAttrJsMemberJsExpToJsCmd
  24. def toString(): String
    Definition Classes
    JsExp → AnyRef → Any
  25. val value: JsExp
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def ~>(right: Box[JsMember]): JsExp
    Definition Classes
    JsExp
  30. def ~>(right: JsMember): JsExp

    ~> accesses a property in the current JsExp

    ~> accesses a property in the current JsExp

    Definition Classes
    JsExp

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from JsMember

Inherited from JsExp

Inherited from ToJsCmd

Inherited from HtmlFixer

Inherited from AnyRef

Inherited from Any

Ungrouped