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
Learn more about member selection
Visibility
  1. Public
  2. All

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.

Abstract Value Members

  1. 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
  2. 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
  3. abstract def makeAbstractTypedTag[T <: Output](tag: String, void: Boolean, namespaceConfig: Namespace): ConcreteHtmlTag[T]

    Definition Classes
    Util
  4. implicit abstract def stringAttrX: AttrValue[Builder, String]

    Attributes
    protected[this]
    Definition Classes
    Util
  5. implicit abstract def stringPixelStyleX: PixelStyleValue[Builder, String]

    Attributes
    protected[this]
    Definition Classes
    Util
  6. implicit abstract def stringStyleX: StyleValue[Builder, String]

    Attributes
    protected[this]
    Definition Classes
    Util
  7. abstract def tag(s: String, void: Boolean = false): TypedTag[Builder, Output, FragT]

    Definition Classes
    Util

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. 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
  7. 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
  8. 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
  9. 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
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. 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
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. 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
  14. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def frag(frags: Frag[Builder, FragT]*): Frag[Builder, FragT]

    Definition Classes
    Util
  18. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  21. def modifier(mods: Modifier[Builder]*): Modifier[Builder]

    Definition Classes
    Util
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  25. 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

  26. 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

  27. lazy val oncontextmenu: Attr

    Script to be run when a context menu is triggered

  28. 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

  29. lazy val oninput: Attr

    Script to be run when an element gets user input

  30. lazy val oninvalid: Attr

    Script to be run when an element is invalid

  31. 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

  32. lazy val onsearch: Attr

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

  33. 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

  34. 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

  35. 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