Packages

trait HtmlBuilders extends HtmlAttrBuilder[ReactiveHtmlAttr] with ReflectedHtmlAttrBuilder[ReactiveProp] with PropBuilder[ReactiveProp] with EventPropBuilder[ReactiveEventProp, Event] with StyleBuilders[StyleSetter] with HtmlTagBuilder[HtmlTag, Element]

Linear Supertypes
HtmlTagBuilder[HtmlTag, Element], StyleBuilders[StyleSetter], EventPropBuilder[ReactiveEventProp, Event], PropBuilder[ReactiveProp], ReflectedHtmlAttrBuilder[ReactiveProp], HtmlAttrBuilder[ReactiveHtmlAttr], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HtmlBuilders
  2. HtmlTagBuilder
  3. StyleBuilders
  4. EventPropBuilder
  5. PropBuilder
  6. ReflectedHtmlAttrBuilder
  7. HtmlAttrBuilder
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def booleanReflectedAttr(key: String, attrCodec: Codec[Boolean, String]): ReactiveProp[Boolean, Boolean]
    Attributes
    protected
    Definition Classes
    ReflectedHtmlAttrBuilder
    Annotations
    @inline()
  6. def booleanReflectedAttr(attrKey: String, propKey: String, attrCodec: Codec[Boolean, String]): ReactiveProp[Boolean, Boolean]
    Attributes
    protected
    Definition Classes
    ReflectedHtmlAttrBuilder
    Annotations
    @inline()
  7. def buildDoubleStyleSetter(style: Style[Double], value: Double): StyleSetter
    Attributes
    protected
    Definition Classes
    HtmlBuilders → StyleBuilders
  8. def buildIntStyleSetter(style: Style[Int], value: Int): StyleSetter
    Attributes
    protected
    Definition Classes
    HtmlBuilders → StyleBuilders
  9. def buildStringStyleSetter(style: Style[_], value: String): StyleSetter
    Attributes
    protected
    Definition Classes
    HtmlBuilders → StyleBuilders
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. 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()
  12. 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()
  13. 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()
  14. 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()
  15. 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()
  16. def doubleHtmlAttr(key: String): ReactiveHtmlAttr[Double]
    Attributes
    protected
    Definition Classes
    HtmlAttrBuilder
    Annotations
    @inline()
  17. def doubleProp(key: String): ReactiveProp[Double, Double]
    Attributes
    protected
    Definition Classes
    PropBuilder
    Annotations
    @inline()
  18. def doubleReflectedAttr(key: String): ReactiveProp[Double, Double]
    Attributes
    protected
    Definition Classes
    ReflectedHtmlAttrBuilder
    Annotations
    @inline()
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def eventProp[Ev <: Event](key: String): ReactiveEventProp[Ev]
    Attributes
    protected
    Definition Classes
    HtmlBuilders → EventPropBuilder
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def htmlAttr[V](key: String, codec: Codec[V, String]): ReactiveHtmlAttr[V]
    Attributes
    protected
    Definition Classes
    HtmlBuilders → HtmlAttrBuilder
  25. def htmlTag[Ref <: Element](tagName: String, void: Boolean): HtmlTag[Ref]
    Attributes
    protected
    Definition Classes
    HtmlBuilders → HtmlTagBuilder
  26. def htmlTag[Ref <: Element](tagName: String): HtmlTag[Ref]
    Attributes
    protected
    Definition Classes
    HtmlTagBuilder
    Annotations
    @inline()
  27. def intHtmlAttr(key: String): ReactiveHtmlAttr[Int]
    Attributes
    protected
    Definition Classes
    HtmlAttrBuilder
    Annotations
    @inline()
  28. def intProp(key: String): ReactiveProp[Int, Int]
    Attributes
    protected
    Definition Classes
    PropBuilder
    Annotations
    @inline()
  29. def intReflectedAttr(key: String): ReactiveProp[Int, Int]
    Attributes
    protected
    Definition Classes
    ReflectedHtmlAttrBuilder
    Annotations
    @inline()
  30. def intReflectedAttr(attrKey: String, propKey: String): ReactiveProp[Int, Int]
    Attributes
    protected
    Definition Classes
    ReflectedHtmlAttrBuilder
    Annotations
    @inline()
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. def prop[V, DomV](key: String, codec: Codec[V, DomV]): ReactiveProp[V, DomV]
    Attributes
    protected
    Definition Classes
    HtmlBuilders → PropBuilder
  36. 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
  37. def stringHtmlAttr(key: String): ReactiveHtmlAttr[String]
    Attributes
    protected
    Definition Classes
    HtmlAttrBuilder
    Annotations
    @inline()
  38. def stringProp(key: String): ReactiveProp[String, String]
    Attributes
    protected
    Definition Classes
    PropBuilder
    Annotations
    @inline()
  39. def stringReflectedAttr(key: String): ReactiveProp[String, String]
    Attributes
    protected
    Definition Classes
    ReflectedHtmlAttrBuilder
    Annotations
    @inline()
  40. def stringReflectedAttr(attrKey: String, propKey: String): ReactiveProp[String, String]
    Attributes
    protected
    Definition Classes
    ReflectedHtmlAttrBuilder
    Annotations
    @inline()
  41. def style[V](key: String): Style[V]
    Attributes
    protected
    Definition Classes
    HtmlBuilders → StyleBuilders
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from HtmlTagBuilder[HtmlTag, Element]

Inherited from StyleBuilders[StyleSetter]

Inherited from EventPropBuilder[ReactiveEventProp, Event]

Inherited from PropBuilder[ReactiveProp]

Inherited from ReflectedHtmlAttrBuilder[ReactiveProp]

Inherited from HtmlAttrBuilder[ReactiveHtmlAttr]

Inherited from AnyRef

Inherited from Any

Ungrouped