Trait

scalatags.generic

FormEventAttrs

Related Doc: package generic

Permalink

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

Type Members

  1. abstract type ConcreteHtmlTag[T <: Output] <: TypedTag[Builder, T, FragT]

    Permalink
    Definition Classes
    Util
  2. implicit class SeqNode[A] extends Modifier[Builder]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

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

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

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

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

    Permalink
    Definition Classes
    Util

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

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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

    Permalink
    Definition Classes
    Any
  9. def attr(s: String, ns: Namespace = null, raw: Boolean = false): Attr

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  11. def css(s: String): Style

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def frag(frags: Frag[Builder, FragT]*): Frag[Builder, FragT]

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. lazy val onblur: Attr

    Permalink

    The blur event is raised when an element loses focus.

    The blur event is raised when an element loses focus.

    MDN

  23. lazy val onchange: Attr

    Permalink

    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

  24. lazy val oncontextmenu: Attr

    Permalink

    Script to be run when a context menu is triggered

  25. lazy val onfocus: Attr

    Permalink

    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

  26. lazy val oninput: Attr

    Permalink

    Script to be run when an element gets user input

  27. lazy val oninvalid: Attr

    Permalink

    Script to be run when an element is invalid

  28. lazy val onreset: Attr

    Permalink

    The reset event is fired when a form is reset.

    The reset event is fired when a form is reset.

    MDN

  29. lazy val onsearch: Attr

    Permalink

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

  30. lazy val onselect: Attr

    Permalink

    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

  31. lazy val onsubmit: Attr

    Permalink

    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

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

    Permalink

    Indicates a selected option in an option list of a

    Indicates a selected option in an option list of a