Packages

t

scalatags.generic

FormEventAttrs

trait FormEventAttrs[Builder, Output <: FragT, FragT] extends Util[Builder, Output, FragT]

Form Events that are triggered by actions inside an HTML form. However, these events apply to almost all HTML elements but are most commonly used in form elements.

Linear Supertypes
Util[Builder, Output, FragT], LowPriUtil[Builder, Output, FragT], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FormEventAttrs
  2. Util
  3. LowPriUtil
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type ConcreteHtmlTag[T <: Output] <: TypedTag[Builder, T, FragT]
    Definition Classes
    Util
  2. implicit class SeqNode[A] extends Modifier[Builder]

    Allows you to modify a ConcreteHtmlTag by adding a Seq containing other nest-able objects to its list of children.

    Allows you to modify a ConcreteHtmlTag by adding a Seq containing other nest-able objects to its list of children.

    Definition Classes
    Util

Abstract Value Members

  1. implicit abstract def GeneratorFrag[A](xs: Generator[A])(implicit ev: (A) => Frag[Builder, FragT]): Frag[Builder, FragT]

    Renders an Seq of FragT into a single FragT

    Renders an Seq of FragT into a single FragT

    Definition Classes
    LowPriUtil
  2. implicit abstract def SeqFrag[A](xs: Seq[A])(implicit ev: (A) => Frag[Builder, FragT]): Frag[Builder, FragT]

    Renders an Seq of FragT into a single FragT

    Renders an Seq of FragT into a single FragT

    Definition Classes
    LowPriUtil
  3. implicit abstract def UnitFrag(u: Unit): Frag[Builder, FragT]

    Lets you put Unit into a scalatags tree, as a no-op.

    Lets you put Unit into a scalatags tree, as a no-op.

    Definition Classes
    LowPriUtil
  4. abstract def makeAbstractTypedTag[T <: Output](tag: String, void: Boolean, namespaceConfig: Namespace): ConcreteHtmlTag[T]
    Definition Classes
    Util
  5. implicit abstract def stringAttrX: AttrValue[Builder, String]
    Attributes
    protected[this]
    Definition Classes
    Util
  6. implicit abstract def stringPixelStyleX: PixelStyleValue[Builder, String]
    Attributes
    protected[this]
    Definition Classes
    Util
  7. implicit abstract def stringStyleX: StyleValue[Builder, String]
    Attributes
    protected[this]
    Definition Classes
    Util
  8. abstract def tag(s: String, void: Boolean = false): TypedTag[Builder, Output, FragT]
    Definition Classes
    Util

Concrete 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. implicit def ArrayFrag[A](xs: Array[A])(implicit ev: (A) => Frag[Builder, FragT]): Frag[Builder, FragT]

    Renders an Seq of FragT into a single FragT

    Renders an Seq of FragT into a single FragT

    Definition Classes
    LowPriUtil
  5. implicit def ArrayNode[A](xs: Array[A])(implicit ev: (A) => Modifier[Builder]): SeqNode[A]

    Allows you to modify a ConcreteHtmlTag by adding an Array containing other nest-able objects to its list of children.

    Allows you to modify a ConcreteHtmlTag by adding an Array containing other nest-able objects to its list of children.

    Definition Classes
    Util
  6. implicit def OptionFrag[A](xs: Option[A])(implicit ev: (A) => Frag[Builder, FragT]): Frag[Builder, FragT]

    Renders an Option of FragT into a single FragT

    Renders an Option of FragT into a single FragT

    Definition Classes
    LowPriUtil
  7. implicit def OptionNode[A](xs: Option[A])(implicit ev: (A) => Modifier[Builder]): SeqNode[A]

    Allows you to modify a ConcreteHtmlTag by adding an Option containing other nest-able objects to its list of children.

    Allows you to modify a ConcreteHtmlTag by adding an Option containing other nest-able objects to its list of children.

    Definition Classes
    Util
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def attr(s: String, ns: Namespace = null, raw: Boolean = false): Attr

    Constructs an Attr attribute object from a string; can be used inline:

    Constructs an Attr attribute object from a string; can be used inline:

    div(
      attr("hello-world-special-attr") := "foo
    )

    Or assigned to a name and used later

    val hello = attr("hello-world-special-attr")
    div(
      hello := "foo
    )
    Definition Classes
    Util
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def css(s: String): Style

    Constructs a CSS Style from a string, can be used inline

    Constructs a CSS Style from a string, can be used inline

    div(
      css("-moz-special-style") := "foo"
    )

    Or assigned to a name and used later

    val mozSpecial := css("-moz-special-style")
    div(
      mozSpecial := "foo"
    )
    Definition Classes
    Util
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. def frag(frags: Frag[Builder, FragT]*): Frag[Builder, FragT]
    Definition Classes
    Util
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def modifier(mods: Modifier[Builder]*): Modifier[Builder]
    Definition Classes
    Util
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. lazy val onblur: Attr

    The blur event is raised when an element loses focus.

    The blur event is raised when an element loses focus.

    MDN

  24. lazy val onchange: Attr

    The change event is fired for input, select, and textarea elements when a change to the element's value is committed by the user.

    The change event is fired for input, select, and textarea elements when a change to the element's value is committed by the user.

    MDN

  25. lazy val oncontextmenu: Attr

    Script to be run when a context menu is triggered

  26. lazy val onfocus: Attr

    The focus event is raised when the user sets focus on the given element.

    The focus event is raised when the user sets focus on the given element.

    MDN

  27. lazy val oninput: Attr

    Script to be run when an element gets user input

  28. lazy val oninvalid: Attr

    Script to be run when an element is invalid

  29. lazy val onreset: Attr

    The reset event is fired when a form is reset.

    The reset event is fired when a form is reset.

    MDN

  30. lazy val onsearch: Attr

    Fires when the user writes something in a search field (for <input="search">)

  31. lazy val onselect: Attr

    The select event only fires when text inside a text input or textarea is selected.

    The select event only fires when text inside a text input or textarea is selected. The event is fired after the text has been selected.

    MDN

  32. lazy val onsubmit: Attr

    The submit event is raised when the user clicks a submit button in a form (). MDN

    The submit event is raised when the user clicks a submit button in a form (). MDN

  33. lazy val selected: AttrPair[Builder, String]

    Indicates a selected option in an option list of a

    Indicates a selected option in an option list of a