case class DisplayMessage(where: String, msg: NodeSeq, duration: util.Helpers.TimeSpan, fadeTime: util.Helpers.TimeSpan) extends JsCmd with Product with Serializable
Show a message msg in the element with id where for duration milliseconds and fade out in fadeout milliseconds
- Alphabetic
- By Inheritance
- DisplayMessage
- Serializable
- Product
- Equals
- JsCmd
- ToJsCmd
- HtmlFixer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def &(other: JsCmd): JsCmd
- Definition Classes
- JsCmd
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val duration: util.Helpers.TimeSpan
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fadeTime: util.Helpers.TimeSpan
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- 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
- 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,
fixHtmlFuncdoes not do event extraction, even whenLiftRules.extractInlineJavaScriptistrue, due to poor interactions withJsExpusage. This will be fixed in a future Lift release; see https://github.com/lift/framework/issues/1801 .
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val msg: NodeSeq
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toJsCmd: String
- Definition Classes
- DisplayMessage → JsCmd → ToJsCmd
- def toString(): String
- Definition Classes
- JsCmd → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val where: String