JsSchedule

olon.http.js.JsCmds.JsSchedule
case class JsSchedule(what: JsCmd) extends JsCmd

JsSchedule the execution of the JsCmd using setTimeout()

Value parameters

what

the code to execute

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait JsCmd
trait ToJsCmd
trait HtmlFixer
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Inherited methods

def &(other: JsCmd): JsCmd

Attributes

Inherited from:
JsCmd
protected def fixHtmlAndJs(uid: String, content: NodeSeq, forceExtractInlineJavaScript: Option[Boolean]): (String, List[JsCmd])

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

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

Inherited from:
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. For use when converting a JsCmd that contains 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.

Attributes

Inherited from:
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. For use when converting a JsExp that contains HTML.

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.

Attributes

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 .

Inherited from:
HtmlFixer

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
JsCmd -> Any
Inherited from:
JsCmd