trait HtmlBuilders extends HtmlAttrBuilder[ReactiveHtmlAttr] with ReflectedHtmlAttrBuilder[ReactiveProp] with PropBuilder[ReactiveProp] with EventPropBuilder[ReactiveEventProp, Event] with StyleBuilders[StyleSetter] with HtmlTagBuilder[HtmlTag, Element]
- Alphabetic
- By Inheritance
- HtmlBuilders
- HtmlTagBuilder
- StyleBuilders
- EventPropBuilder
- PropBuilder
- ReflectedHtmlAttrBuilder
- HtmlAttrBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def booleanReflectedAttr(key: String, attrCodec: Codec[Boolean, String]): ReactiveProp[Boolean, Boolean]
- Attributes
- protected
- Definition Classes
- ReflectedHtmlAttrBuilder
- Annotations
- @inline()
- def booleanReflectedAttr(attrKey: String, propKey: String, attrCodec: Codec[Boolean, String]): ReactiveProp[Boolean, Boolean]
- Attributes
- protected
- Definition Classes
- ReflectedHtmlAttrBuilder
- Annotations
- @inline()
- def buildDoubleStyleSetter(style: Style[Double], value: Double): StyleSetter
- Attributes
- protected
- Definition Classes
- HtmlBuilders → StyleBuilders
- def buildIntStyleSetter(style: Style[Int], value: Int): StyleSetter
- Attributes
- protected
- Definition Classes
- HtmlBuilders → StyleBuilders
- def buildStringStyleSetter(style: Style[_], value: String): StyleSetter
- Attributes
- protected
- Definition Classes
- HtmlBuilders → StyleBuilders
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def customEventProp[Ev <: Event](key: String): ReactiveEventProp[Ev]
Create custom event property
Create custom event property
- Ev
- event type in JS, e.g. js.dom.MouseEvent
- key
- event type in JS, e.g. "click"
- Annotations
- @inline()
- def customHtmlAttr[V](key: String, codec: Codec[V, String]): ReactiveHtmlAttr[V]
Create custom HTML attr (Note: for SVG attrs, use L.svg.customSvgAttr)
Create custom HTML attr (Note: for SVG attrs, use L.svg.customSvgAttr)
- V
- value type for this attr in Scala
- key
- name of the attribute, e.g. "value"
- codec
- used to translate V <-> String, e.g. StringAsIsCodec,
- Annotations
- @inline()
- def customHtmlTag[Ref <: Element](tagName: String): HtmlTag[Ref]
Note: this simply creates an instance of HtmlTag.
Note: this simply creates an instance of HtmlTag. - This does not create the element (to do that, call .apply on the returned tag instance) - This does not register this tag name as a custom element
- See https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements
- Ref
- type of elements with this tag, e.g. dom.html.Input for "input" tag
- tagName
- e.g. "div" or "mwc-input"
- Annotations
- @inline()
- def customProp[V, DomV](key: String, codec: Codec[V, DomV]): ReactiveProp[V, DomV]
Create custom HTML element property
Create custom HTML element property
- V
- value type for this prop in Scala
- DomV
- value type for this prop in the underlying JS DOM.
- key
- name of the prop in JS, e.g. "value"
- codec
- used to translate V <-> DomV, e.g. StringAsIsCodec,
- Annotations
- @inline()
- def customStyle[V](key: String): ReactiveStyle[V]
Create custom CSS property
Create custom CSS property
- V
- type of values recognized by JS for this property, e.g. Int Note: String is always allowed regardless of the type you put here. If unsure, use String type as V.
- key
- name of CSS property, e.g. "font-weight"
- Annotations
- @inline()
- def doubleHtmlAttr(key: String): ReactiveHtmlAttr[Double]
- Attributes
- protected
- Definition Classes
- HtmlAttrBuilder
- Annotations
- @inline()
- def doubleProp(key: String): ReactiveProp[Double, Double]
- Attributes
- protected
- Definition Classes
- PropBuilder
- Annotations
- @inline()
- def doubleReflectedAttr(key: String): ReactiveProp[Double, Double]
- Attributes
- protected
- Definition Classes
- ReflectedHtmlAttrBuilder
- Annotations
- @inline()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def eventProp[Ev <: Event](key: String): ReactiveEventProp[Ev]
- Attributes
- protected
- Definition Classes
- HtmlBuilders → EventPropBuilder
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def htmlAttr[V](key: String, codec: Codec[V, String]): ReactiveHtmlAttr[V]
- Attributes
- protected
- Definition Classes
- HtmlBuilders → HtmlAttrBuilder
- def htmlTag[Ref <: Element](tagName: String, void: Boolean): HtmlTag[Ref]
- Attributes
- protected
- Definition Classes
- HtmlBuilders → HtmlTagBuilder
- def htmlTag[Ref <: Element](tagName: String): HtmlTag[Ref]
- Attributes
- protected
- Definition Classes
- HtmlTagBuilder
- Annotations
- @inline()
- def intHtmlAttr(key: String): ReactiveHtmlAttr[Int]
- Attributes
- protected
- Definition Classes
- HtmlAttrBuilder
- Annotations
- @inline()
- def intProp(key: String): ReactiveProp[Int, Int]
- Attributes
- protected
- Definition Classes
- PropBuilder
- Annotations
- @inline()
- def intReflectedAttr(key: String): ReactiveProp[Int, Int]
- Attributes
- protected
- Definition Classes
- ReflectedHtmlAttrBuilder
- Annotations
- @inline()
- def intReflectedAttr(attrKey: String, propKey: String): ReactiveProp[Int, Int]
- Attributes
- protected
- Definition Classes
- ReflectedHtmlAttrBuilder
- Annotations
- @inline()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def prop[V, DomV](key: String, codec: Codec[V, DomV]): ReactiveProp[V, DomV]
- Attributes
- protected
- Definition Classes
- HtmlBuilders → PropBuilder
- def reflectedAttr[V, DomPropV](attrKey: String, propKey: String, attrCodec: Codec[V, String], propCodec: Codec[V, DomPropV]): ReactiveProp[V, DomPropV]
- Attributes
- protected
- Definition Classes
- HtmlBuilders → ReflectedHtmlAttrBuilder
- def stringHtmlAttr(key: String): ReactiveHtmlAttr[String]
- Attributes
- protected
- Definition Classes
- HtmlAttrBuilder
- Annotations
- @inline()
- def stringProp(key: String): ReactiveProp[String, String]
- Attributes
- protected
- Definition Classes
- PropBuilder
- Annotations
- @inline()
- def stringReflectedAttr(key: String): ReactiveProp[String, String]
- Attributes
- protected
- Definition Classes
- ReflectedHtmlAttrBuilder
- Annotations
- @inline()
- def stringReflectedAttr(attrKey: String, propKey: String): ReactiveProp[String, String]
- Attributes
- protected
- Definition Classes
- ReflectedHtmlAttrBuilder
- Annotations
- @inline()
- def style[V](key: String): Style[V]
- Attributes
- protected
- Definition Classes
- HtmlBuilders → StyleBuilders
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated