org.getshaka.shaka.builders
package org.getshaka.shaka.builders
Members list
Value members
Concrete methods
inline def cssProp(inline propName: String)(inline style: String)(using inline pe: HTMLElement): Unit
Defines a Css property
Defines a Css property
Value parameters
- pe
-
Element to apply styling to.
- propName
-
Name of the property
- style
-
Css styling
Attributes
Please don't use this.. unless you must
Please don't use this.. unless you must
Attributes
inline def prop[V](inline propName: String)(inline value: V)(using inline parent: Element, inline nc: NativeConverter[V]): Unit
Define a Javascript property
Define a Javascript property
Type parameters
- V
-
value's type
Value parameters
- nc
-
given NativeConverter for
value - parent
-
given Element to apply this property to
- propName
-
name of the prop
- value
-
prop value
Attributes
inline def tag[T](inline tagName: String)(inline init: T ?=> Any)(using inline parent: Element): Unit
Extensions
Extensions
extension (s: String)(s: String)(using pe: Element)
Creates a TextNode
Creates a TextNode
Attributes
In this article