Trait

scalatags.generic

WindowEventAttrs

Related Doc: package generic

Permalink

trait WindowEventAttrs[Builder, Output <: FragT, FragT] extends SharedEventAttrs[Builder, Output, FragT]

Window Events

Linear Supertypes
SharedEventAttrs[Builder, Output, FragT], Util[Builder, Output, FragT], LowPriUtil[Builder, Output, FragT], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WindowEventAttrs
  2. SharedEventAttrs
  3. Util
  4. LowPriUtil
  5. AnyRef
  6. 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 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
  2. 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
  3. abstract def makeAbstractTypedTag[T <: Output](tag: String, void: Boolean, namespaceConfig: Namespace): ConcreteHtmlTag[T]

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

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Util
  7. 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
    @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 finalize(): Unit

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. lazy val onafterprint: Attr

    Permalink

    Script to be run after the document is printed

  24. lazy val onbeforeprint: Attr

    Permalink

    Script to be run before the document is printed

  25. lazy val onbeforeunload: Attr

    Permalink

    Script to be run when the document is about to be unloaded

  26. lazy val onerror: Attr

    Permalink

    Script to be run when an error occurs when the file is being loaded

    Script to be run when an error occurs when the file is being loaded

    Definition Classes
    SharedEventAttrs
  27. lazy val onhashchange: Attr

    Permalink

    Script to be run when there has been changes to the anchor part of the a URL

  28. lazy val onload: Attr

    Permalink

    The load event fires at the end of the document loading process.

    The load event fires at the end of the document loading process. At this point, all of the objects in the document are in the DOM, and all the images and sub-frames have finished loading.

    MDN

  29. lazy val onmessage: Attr

    Permalink

    Script to be run when the message is triggered

  30. lazy val onoffline: Attr

    Permalink

    Script to be run when the browser starts to work offline

  31. lazy val ononline: Attr

    Permalink

    Script to be run when the browser starts to work online

  32. lazy val onpagehide: Attr

    Permalink

    Script to be run when a user navigates away from a page

  33. lazy val onpageshow: Attr

    Permalink

    Script to be run when a user navigates to a page

  34. lazy val onpopstate: Attr

    Permalink

    Script to be run when the window's history changes

  35. lazy val onresize: Attr

    Permalink

    Fires when the browser window is resized

  36. lazy val onstorage: Attr

    Permalink

    Script to be run when a Web Storage area is updated

  37. lazy val onunload: Attr

    Permalink

    Fires once a page has unloaded (or the browser window has been closed)

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

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

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

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

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

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

Inherited from SharedEventAttrs[Builder, Output, FragT]

Inherited from Util[Builder, Output, FragT]

Inherited from LowPriUtil[Builder, Output, FragT]

Inherited from AnyRef

Inherited from Any

Ungrouped