net.liftweb.http.js

JsCmds

object JsCmds

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsCmds
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

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

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

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

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

    Sets the focus on the element denominated by the id

  6. trait HasTime extends AnyRef

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

    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

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

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

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

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

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

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

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

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

    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

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

    Update a Select with new Options

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

  19. case class SetElemById(id: String, right: JsExp, then: String*) extends JsCmd with Product with Serializable

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

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

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

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

    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

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

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

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

    Sets the value of an element and sets the focus

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. object FocusOnLoad

    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

  5. object Function

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

  6. object JsBreak extends JsCmd with Product with Serializable

  7. object JsContinue extends JsCmd with Product with Serializable

  8. def JsHideId(what: String): JsCmd

  9. object JsIf extends Product with Serializable

  10. object JsReturn

  11. def JsShowId(what: String): JsCmd

  12. def Noop: JsCmd

  13. object OnLoad

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

  14. object RedirectTo extends Serializable

    A companion object with a helpful alternative constructor

  15. object Reload extends JsCmd with Product with Serializable

    Reload the current page

  16. object Script

  17. object _Noop extends JsCmd with Product with Serializable

  18. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  19. def clone(): AnyRef

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

  21. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

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

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

    Definition Classes
    AnyRef
  33. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped