Object

net.liftweb.http.js

JsCmds

Related Doc: package js

Permalink

object JsCmds

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsCmds
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. case class After(time: util.Helpers.TimeSpan, toDo: JsCmd) extends JsCmd with Product with Serializable

    Permalink
  2. case class Alert(text: String) extends JsCmd with Product with Serializable

    Permalink
  3. case class CmdPair(left: JsCmd, right: JsCmd) extends JsCmd with Product with Serializable

    Permalink
  4. case class Confirm(text: String, yes: JsCmd) extends JsCmd with Product with Serializable

    Permalink
  5. case class Focus(id: String) extends JsCmd with Product with Serializable

    Permalink

    Sets the focus on the element denominated by the id

  6. trait HasTime extends AnyRef

    Permalink
  7. case class JsCrVar(name: String, right: JsExp) extends JsCmd with Product with Serializable

    Permalink

    Creates a JavaScript var named by 'name' and assigns it the value of 'right' expression.

  8. case class JsDoWhile(body: JsExp, condition: JsExp) extends JsCmd with Product with Serializable

    Permalink
  9. case class JsFor(initialExp: JsExp, condition: JsExp, incrementExp: JsExp, body: JsExp) extends JsCmd with Product with Serializable

    Permalink
  10. case class JsForIn(initialExp: JsExp, reference: String, body: JsCmd) extends JsCmd with Product with Serializable

    Permalink
  11. case class JsSchedule(what: JsCmd) extends JsCmd with Product with Serializable

    Permalink

    JsSchedule the execution of the JsCmd using setTimeout()

    JsSchedule the execution of the JsCmd using setTimeout()

    what

    the code to execute

  12. case class JsTry(what: JsCmd, alert: Boolean) extends JsCmd with Product with Serializable

    Permalink
  13. case class JsWhile(condition: JsExp, body: JsExp) extends JsCmd with Product with Serializable

    Permalink
  14. case class JsWith(reference: String, body: JsExp) extends JsCmd with Product with Serializable

    Permalink
  15. case class Prompt(text: String, default: String = "") extends JsExp with Product with Serializable

    Permalink
  16. case class RedirectTo(where: String) extends JsCmd with Product with Serializable

    Permalink
  17. case class Replace(id: String, content: NodeSeq) extends JsCmd with Product with Serializable

    Permalink

    Replaces the node having the provided id with the markup given by node

    Replaces the node having the provided id with the markup given by node

    id

    - the id of the node that will be replaced

  18. case class ReplaceOptions(select: String, opts: List[(String, String)], dflt: Box[String]) extends JsCmd with Product with Serializable

    Permalink

    Update a Select with new Options

  19. case class Run(text: String) extends JsCmd with Product with Serializable

    Permalink
  20. case class SetElemById(id: String, right: JsExp, thenStr: String*) extends JsCmd with Product with Serializable

    Permalink

    Assigns the value of 'right' to the members of the element having this 'id', chained by 'then' sequences

  21. case class SetExp(left: JsExp, right: JsExp) extends JsCmd with Product with Serializable

    Permalink

    Assigns the value computed by the 'right' expression to the 'left' expression.

  22. case class SetHtml(uid: String, content: NodeSeq) extends JsCmd with Product with Serializable

    Permalink

    Replaces the content of the node with the provided id with the markup given by content

    Replaces the content of the node with the provided id with the markup given by content

    This is analogous to assigning a new value to a DOM object's innerHtml property in Javascript.

    content

    - the new content

  23. case class SetValById(id: String, right: JsExp) extends JsCmd with Product with Serializable

    Permalink

    Sets the value to the element having the 'id' attribute with the result of the 'right' expression

  24. case class SetValueAndFocus(id: String, value: String) extends JsCmd with Product with Serializable

    Permalink

    Sets the value of an element and sets the focus

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Function

    Permalink

    Creates a JavaScript function with a name, a parameters list and a function body

  5. object JsBreak extends JsCmd with Product with Serializable

    Permalink
  6. object JsContinue extends JsCmd with Product with Serializable

    Permalink
  7. def JsHideId(what: String): JsCmd

    Permalink
  8. object JsIf extends Product with Serializable

    Permalink
  9. object JsReturn

    Permalink
  10. def JsShowId(what: String): JsCmd

    Permalink
  11. def Noop: JsCmd

    Permalink
  12. object OnLoad

    Permalink

    Execute the 'what' code when the page is ready for use

  13. object RedirectTo extends Serializable

    Permalink

    A companion object with a helpful alternative constructor

  14. object Reload extends JsCmd with Product with Serializable

    Permalink

    Reload the current page

  15. object Script

    Permalink
  16. object _Noop extends JsCmd with Product with Serializable

    Permalink
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. implicit def cmdToString(in: JsCmd): String

    Permalink
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. implicit def jsExpToJsCmd(in: JsExp): JsCmd

    Permalink
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. implicit def seqJsToJs(in: Seq[JsCmd]): JsCmd

    Permalink
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. object FocusOnLoad

    Permalink

    Makes the parameter the selected HTML element on load of the page

    Makes the parameter the selected HTML element on load of the page

    returns

    the element and a script that will give the element focus

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Use S.appendJs(Focus(id))

Inherited from AnyRef

Inherited from Any

Ungrouped