trait MediaEventAttrs[Builder, Output <: FragT, FragT] extends SharedEventAttrs[Builder, Output, FragT]
Media Events - triggered by media like videos, images and audio. These apply to all HTML elements, but they are most common in media elements, like <audio>, <embed>, ,
- Alphabetic
- By Inheritance
- MediaEventAttrs
- SharedEventAttrs
- Util
- LowPriUtil
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract type ConcreteHtmlTag[T <: Output] <: TypedTag[Builder, T, FragT]
- Definition Classes
- Util
- 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
- 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
- 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
- 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
- abstract def makeAbstractTypedTag[T <: Output](tag: String, void: Boolean, namespaceConfig: Namespace): ConcreteHtmlTag[T]
- Definition Classes
- Util
- implicit abstract def stringAttrX: AttrValue[Builder, String]
- Attributes
- protected[this]
- Definition Classes
- Util
- implicit abstract def stringPixelStyleX: PixelStyleValue[Builder, String]
- Attributes
- protected[this]
- Definition Classes
- Util
- implicit abstract def stringStyleX: StyleValue[Builder, String]
- Attributes
- protected[this]
- Definition Classes
- Util
- abstract def tag(s: String, void: Boolean = false): TypedTag[Builder, Output, FragT]
- Definition Classes
- Util
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- 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
- 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
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attr(s: String, ns: Namespace = null, raw: Boolean = false): Attr
Constructs an Attr attribute object from a string; can be used inline:
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def css(s: String): Style
Constructs a CSS Style from a string, can be used inline
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def frag(frags: Frag[Builder, FragT]*): Frag[Builder, FragT]
- Definition Classes
- Util
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def modifier(mods: Modifier[Builder]*): Modifier[Builder]
- Definition Classes
- Util
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val onabort: Attr
Script to be run on abort
- lazy val oncanplay: Attr
Script to be run when a file is ready to start playing (when it has buffered enough to begin)
- lazy val oncanplaythrough: Attr
Script to be run when a file can be played all the way to the end without pausing for buffering
- lazy val oncuechange: Attr
Script to be run when the cue changes in a <track> element
- lazy val ondurationchange: Attr
Script to be run when the length of the media changes
- lazy val onemptied: Attr
Script to be run when something bad happens and the file is suddenly unavailable (like unexpectedly disconnects)
- lazy val onended: Attr
Script to be run when the media has reach the end (a useful event for messages like "thanks for listening")
- lazy val onerror: Attr
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
- lazy val onloadeddata: Attr
Script to be run when media data is loaded
- lazy val onloadedmetadata: Attr
Script to be run when meta data (like dimensions and duration) are loaded
- lazy val onloadstart: Attr
Script to be run just as the file begins to load before anything is actually loaded
- lazy val onpause: Attr
Script to be run when the media is paused either by the user or programmatically
- lazy val onplay: Attr
Script to be run when the media is ready to start playing
- lazy val onplaying: Attr
Script to be run when the media actually has started playing
- lazy val onprogress: Attr
Script to be run when the browser is in the process of getting the media data
- lazy val onratechange: Attr
Script to be run each time the playback rate changes (like when a user switches to a slow motion or fast forward mode)
- lazy val onseeked: Attr
Script to be run when the seeking attribute is set to false indicating that seeking has ended
- lazy val onseeking: Attr
Script to be run when the seeking attribute is set to true indicating that seeking is active
- lazy val onstalled: Attr
Script to be run when the browser is unable to fetch the media data for whatever reason
- lazy val onsuspend: Attr
Script to be run when fetching the media data is stopped before it is completely loaded for whatever reason
- lazy val ontimeupdate: Attr
Script to be run when the playing position has changed (like when the user fast forwards to a different point in the media)
- lazy val onvolumechange: Attr
Script to be run each time the volume is changed which (includes setting the volume to "mute")
- lazy val onwaiting: Attr
Script to be run when the media has paused but is expected to resume (like when the media pauses to buffer more data)
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()