Packages

package vdom

Simple vdom. There are two styles, one with list of attributes like many other scalajs react bindings. The preferred approach is using typed traits (subclasses of js.Objects) so that properties presence/absence can be checked.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. vdom
  2. HTMLTagsX
  3. Events
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package svgtags

Type Members

  1. type AbbrProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  2. type AddressProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  3. trait AlignItems extends Any
    Annotations
    @JSType() @native()
  4. trait AllHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  5. trait AnchorHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  6. type AnimationEventHandler[T <: EventTarget] = Function1[SyntheticAnimationEvent[T], Unit]
    Definition Classes
    Events
  7. trait AreaHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  8. trait AriaAttributes[+T <: EventTarget] extends Object
    Annotations
    @JSType()
  9. type ArticleProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  10. type AsideProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  11. case class Attr(name: AttrName, value: AttrValue) extends Product with Serializable

    Attribute name and value.

  12. case class AttrName(value: String) extends Product with Serializable

    This definition won't stop you from assigning the wrong type of value to an attribute so be careful.

    This definition won't stop you from assigning the wrong type of value to an attribute so be careful. You can use the specific symbol syntax to reduce the danger slightly. The methods on this class are a builder pattern to ultimately create a Attr object.

  13. case class AttrValue(value: Any) extends Product with Serializable

    The rhs of an Attribute name value pair.

    The rhs of an Attribute name value pair. value could be a js undefined value.

  14. trait AttributeListLowerOrderPriorityImplicits extends AnyRef
  15. trait AttributeListSyntax extends AttributeListLowerOrderPriorityImplicits
  16. trait Attributes extends Object

    Add a key.

    Add a key.

    Annotations
    @JSType()
  17. class Attrs extends AnyRef

    List of attributes.

    List of attributes. Call .toJs to obtain a js.Object.

  18. trait AudioHTMLAttributes[+T <: EventTarget] extends Object with MediaHTMLAttributes[T]
    Annotations
    @JSType()
  19. type BProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  20. trait BaseHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  21. trait BaseSyntheticEvent[E, +C, +T] extends Object
    Annotations
    @JSType() @native()
  22. trait BlockQuoteHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  23. type BlockQuoteProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  24. trait BoxSizing extends Any
    Annotations
    @JSType() @native()
  25. type BrProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  26. trait ButtonHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  27. trait CanvasHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  28. type CaptionProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  29. type ChangeEventHandler[T <: EventTarget] = Function1[SyntheticChangeEvent[T], Unit]
    Definition Classes
    Events
  30. type CiteProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  31. trait ClassAttributes[E] extends Object with Attributes

    Add a ref callback.

    Add a ref callback. ReactJSProps does not carry a type.

    Annotations
    @JSType()
  32. type ClipboardEventHandler[T <: EventTarget] = Function1[SyntheticClipboardEvent[T], Unit]
    Definition Classes
    Events
  33. type CodeProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  34. trait ColHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  35. trait ColgroupHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  36. type CompositionEventHandler[T <: EventTarget] = Function1[SyntheticCompositionEvent[T], Unit]
    Definition Classes
    Events
  37. trait DOMAttributes[+T <: EventTarget] extends Object

    Mostly handlers for DOM nodes.

    Mostly handlers for DOM nodes.

    Annotations
    @JSType()
  38. type DataProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  39. trait DelHTMLAtributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  40. type DelProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  41. type DetailsProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  42. type DfnProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  43. type DialogProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  44. type DlProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  45. type DragEventHandler[T <: EventTarget] = Function1[SyntheticDragEvent[T], Unit]
    Definition Classes
    Events
  46. type DtProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  47. trait ElementAttributesOnly extends Object with HTMLAttributes[Element] with ClassAttributes[Element]
    Annotations
    @JSType()
  48. type EmProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  49. trait EmbedHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  50. type EventHandler[T <: EventTarget, E <: SyntheticEvent[T]] = Function1[E, Unit]

    Definition Classes
    Events
  51. trait Events extends AnyRef
  52. trait FieldsetHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  53. type FigcaptionProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  54. type FigureProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  55. type FocusEventHandler[T <: EventTarget] = Function1[SyntheticFocusEvent[T], Unit]
    Definition Classes
    Events
  56. trait FontFace extends Object with RawFontStyle
    Annotations
    @JSType()
  57. type FooterProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  58. type FormEventHandler[T <: EventTarget] = Function1[SyntheticFormEvent[T], Unit]
    Definition Classes
    Events
  59. trait FormHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  60. trait HTMLAttributes[+T <: EventTarget] extends Object with AriaAttributes[T] with DOMAttributes[T]
    Annotations
    @JSType()
  61. trait HTMLProps[+T <: EventTarget] extends Object with AllHTMLAttributes[T] with ClassAttributes[T]

    A props trait that takes all HTML props.

    A props trait that takes all HTML props. Use wisely.

    Annotations
    @JSType()
  62. trait HTMLTagsX extends AnyRef

    The HTML tags (elements/components) for standard DOM elements.

    The HTML tags (elements/components) for standard DOM elements. Each tag is represented in lowercase while the props object is the uppercase tag name followed by Props. So the div tag has DivProps for the props type.

  63. trait AProps extends Object with AnchorHTMLAttributes[Anchor] with ClassAttributes[Anchor]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  64. trait AreaProps extends Object with AreaHTMLAttributes[Area] with ClassAttributes[Area]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  65. trait AudioProps extends Object with AudioHTMLAttributes[Audio] with ClassAttributes[Audio]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  66. trait BaseProps extends Object with BaseHTMLAttributes[Base] with ClassAttributes[Base]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  67. trait BodyProps extends Object with HTMLAttributes[Body] with ClassAttributes[Body]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  68. trait ButtonProps extends Object with ButtonHTMLAttributes[Button] with ClassAttributes[Button]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  69. trait CanvasProps extends Object with CanvasHTMLAttributes[Canvas] with ClassAttributes[Canvas]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  70. trait ColProps extends Object with ColHTMLAttributes[Element] with ClassAttributes[Element]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  71. trait ColgroupProps extends Object with ColgroupHTMLAttributes[Element] with ClassAttributes[Element]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  72. trait DataListProps extends Object with HTMLAttributes[DataList] with ClassAttributes[DataList]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  73. trait DivProps extends Object with HTMLAttributes[Div] with ClassAttributes[Div]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  74. trait EmbedProps extends Object with EmbedHTMLAttributes[Embed] with ClassAttributes[Embed]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  75. trait FieldsetProps extends Object with FieldsetHTMLAttributes[FieldSet] with ClassAttributes[FieldSet]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  76. trait FormProps extends Object with FormHTMLAttributes[Form] with ClassAttributes[Form]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  77. trait HProps extends Object with HTMLAttributes[Heading]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  78. trait HeadProps extends Object with HTMLAttributes[Head] with ClassAttributes[Head]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  79. trait HrProps extends Object with HTMLAttributes[HR] with ClassAttributes[HR]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  80. trait HtmlProps extends Object with HtmlHTMLAttributes[Html] with ClassAttributes[Html]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  81. trait IframeProps extends Object with IframeHTMLAttributes[IFrame] with ClassAttributes[IFrame]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  82. trait ImgProps extends Object with ImgHTMLAttributes[Image] with ClassAttributes[Image]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  83. trait InputProps extends Object with InputHTMLAttributes[Input] with ClassAttributes[Input]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  84. trait InsProps extends Object with InsHTMLAttributes[Mod] with ClassAttributes[Mod]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  85. trait LabelProps extends Object with LabelHTMLAttributes[Label] with ClassAttributes[Label]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  86. trait LegendProps extends Object with HTMLAttributes[Legend] with ClassAttributes[Legend]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  87. trait LiProps extends Object with LiHTMLAttributes[LI] with ClassAttributes[LI]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  88. trait LinkProps extends Object with LinkHTMLAttributes[Link] with ClassAttributes[Link]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  89. trait MapProps extends Object with MapHTMLAttributes[Map] with ClassAttributes[Map]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  90. trait MenuProps extends Object with MenuHTMLAttributes[Menu] with ClassAttributes[Menu]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  91. trait MenuitemProps extends Object with HTMLAttributes[Element] with ClassAttributes[Element]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  92. trait MetaProps extends Object with MetaHTMLAttributes[Meta] with ClassAttributes[Meta]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  93. trait ObjectProps extends Object with ObjectHTMLAttributes[Object] with ClassAttributes[Object]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  94. trait OlProps extends Object with OlHTMLAttributes[Element] with ClassAttributes[Element]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  95. trait OptgroupProps extends Object with OptgroupHTMLAttributes[OptGroup] with ClassAttributes[OptGroup]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  96. trait OptionProps extends Object with OptionHTMLAttributes[Option] with ClassAttributes[Option]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  97. trait PProps extends Object with HTMLAttributes[Paragraph] with ClassAttributes[Paragraph]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  98. trait ParamProps extends Object with ParamHTMLAttributes[Param] with ClassAttributes[Param]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  99. trait ProgressProps extends Object with ProgressHTMLAttributes[Progress] with ClassAttributes[Progress]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  100. trait QProps extends Object with QuoteHTMLAttributes[Quote] with ClassAttributes[Quote]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  101. trait ScriptProps extends Object with ScriptHTMLAttributes[Script] with ClassAttributes[Script]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  102. trait SelectProps extends Object with SelectHTMLAttributes[Select] with ClassAttributes[Select]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  103. trait SourceProps extends Object with SourceHTMLAttributes[Source] with ClassAttributes[Source]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  104. trait SpanProps extends Object with HTMLAttributes[Span] with ClassAttributes[Span]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  105. trait StyleProps extends Object with StyleHTMLAttributes[Style] with ClassAttributes[Style]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  106. trait TableProps extends Object with TableHTMLAttributes[Table] with ClassAttributes[Table]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  107. trait TbodyProps extends Object with HTMLAttributes[TableSection] with ClassAttributes[TableSection]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  108. trait TdProps extends Object with HTMLAttributes[TableCell] with ClassAttributes[TableCell]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  109. trait TextareaProps extends Object with TextAreaHTMLAttributes[TextArea] with ClassAttributes[TextArea]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  110. trait TfootProps extends Object with HTMLAttributes[TableSection] with ClassAttributes[TableSection]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  111. trait ThProps extends Object with ThHTMLAttributes[TableCell] with ClassAttributes[TableCell]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  112. trait TheadProps extends Object with HTMLAttributes[TableSection] with ClassAttributes[TableSection]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  113. trait TimeProps extends Object with TimeHTMLAttributes[Element] with ClassAttributes[Element]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  114. trait TitleProps extends Object with HTMLAttributes[Title] with ClassAttributes[Title]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  115. trait TrProps extends Object with HTMLAttributes[TableRow] with ClassAttributes[TableRow]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  116. trait TrackProps extends Object with TrackHTMLAttributes[Track] with ClassAttributes[Track]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  117. trait UlProps extends Object with HTMLAttributes[UList] with ClassAttributes[UList]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  118. trait VideoProps extends Object with VideoHTMLAttributes[Video] with ClassAttributes[Video]
    Definition Classes
    HTMLTagsX
    Annotations
    @JSType()
  119. type HeaderProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  120. type HgroupProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  121. trait HtmlAttrs extends AnyRef

    Incomplete attribute list.

    Incomplete attribute list. Define your own if you need to.

  122. trait HtmlHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  123. trait HtmlTags extends AnyRef

    Inherit from this trait to bring HTML tags into scope.

  124. type IProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  125. trait IframeHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  126. trait ImgHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  127. trait InputHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  128. trait InsHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  129. trait JustifyContent extends Any

    No safe/unsafe.

    No safe/unsafe.

    Annotations
    @JSType() @native()
  130. type KbdProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  131. type KeyboardEventHandler[T <: EventTarget] = Function1[SyntheticKeyboardEvent[T], Unit]
    Definition Classes
    Events
  132. type KeygenProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  133. trait LabelHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  134. trait LiHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  135. trait LinkHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  136. type MainProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  137. trait MapHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  138. type MarkProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  139. trait MediaHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  140. trait MenuHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  141. trait MetaHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  142. trait MeterHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  143. type MeterProps = ElementAttributesOnly

    not on IE or safari.

    not on IE or safari.

    Definition Classes
    HTMLTagsX
  144. type MouseEventHandler[T <: EventTarget] = Function1[SyntheticMouseEvent[T], Unit]
    Definition Classes
    Events
  145. type NavProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  146. type NoscriptProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  147. trait ObjectHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  148. trait OlHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  149. trait OptgroupHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  150. trait OptionHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  151. trait OutputHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  152. type OutputProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  153. trait ParamHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  154. type PictureProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  155. type PointerEventHandler[T <: EventTarget] = Function1[SyntheticPointerEvent[T], Unit]
    Definition Classes
    Events
  156. type PreProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  157. trait ProgressHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  158. trait QuoteHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  159. trait RawFontStyle extends Object
    Annotations
    @JSType()
  160. trait RawStyleBase extends Object with RawFontStyle

    Use to create a mildly useful style object.

    Use to create a mildly useful style object. It won't typecheck the values themselves but it will check the field themselves to ensure they are valid.

    Annotations
    @JSType()
  161. type ReactAnimationEvent[+T <: EventTarget] = SyntheticAnimationEvent[T]
    Definition Classes
    Events
  162. type ReactChangeEvent[+T <: EventTarget] = SyntheticChangeEvent[T]
    Definition Classes
    Events
  163. type ReactClipboardEvent[+T <: EventTarget] = SyntheticClipboardEvent[T]
    Definition Classes
    Events
  164. type ReactEvent[+T <: EventTarget] = SyntheticEvent[T]

    Friendly name alias for SyntheticEvent

    Friendly name alias for SyntheticEvent

    Definition Classes
    Events
  165. type ReactEventHandler[T <: EventTarget] = Function1[SyntheticEvent[T], Unit]

    General event handler parameterized on the receiver.

    General event handler parameterized on the receiver.

    Definition Classes
    Events
  166. type ReactEventI = SyntheticEvent[Input]
    Definition Classes
    Events
  167. type ReactFocusEvent[+T <: EventTarget] = SyntheticFocusEvent[T]
    Definition Classes
    Events
  168. type ReactFormEvent[+T <: EventTarget] = SyntheticFormEvent[T]
    Definition Classes
    Events
  169. type ReactKeyboardEvent[+T <: EventTarget] = SyntheticKeyboardEvent[T]
    Definition Classes
    Events
  170. type ReactKeyboardEventI = SyntheticKeyboardEvent[Input]
    Definition Classes
    Events
  171. type ReactMouseEvent[+T <: EventTarget] = SyntheticMouseEvent[T]
    Definition Classes
    Events
  172. type ReactMouseEventI = SyntheticMouseEvent[Input]
    Definition Classes
    Events
  173. type ReactPointerEvent[+T <: EventTarget] = SyntheticPointerEvent[T]
    Definition Classes
    Events
  174. type ReactTouchEvent[+T <: EventTarget] = SyntheticTouchEvent[T]
    Definition Classes
    Events
  175. type ReactWheelEvent[+T <: EventTarget] = SyntheticWheelEvent[T]
    Definition Classes
    Events
  176. type SProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  177. type SampProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  178. trait ScriptHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  179. type SectionProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  180. trait SelectHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  181. trait SetInnerHTML extends Object

    Used to set the inner HTML dangerously.

    Used to set the inner HTML dangerously.

    Annotations
    @JSType()
  182. type SmallProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  183. trait SourceHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  184. type StrongProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  185. trait StyleAttr extends Object with RawStyleBase

    A style trait that can provide some protection that the values you provide *are* valid styling keywords e.g.

    A style trait that can provide some protection that the values you provide *are* valid styling keywords e.g. backgroundColor. Use this like new StyleAttr{ backgroundColor = "red" }.

    Annotations
    @JSType()
  186. trait StyleHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  187. type SubProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  188. type SummaryProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  189. type SupProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  190. trait SyntheticAnimationEvent[+T <: EventTarget] extends Object with SyntheticEvent[T]
    Annotations
    @JSType() @native()
  191. trait SyntheticChangeEvent[+T <: EventTarget] extends Object with SyntheticEvent[T]
    Annotations
    @JSType() @native()
  192. trait SyntheticClipboardEvent[+T <: EventTarget] extends Object with SyntheticEvent[T]
    Annotations
    @JSType() @native()
  193. trait SyntheticCompositionEvent[+T <: EventTarget] extends Object with SyntheticEvent[T]
    Annotations
    @JSType() @native()
  194. trait SyntheticDragEvent[+T <: EventTarget] extends Object with SyntheticMouseEvent[T]
    Annotations
    @JSType() @native()
  195. trait SyntheticEvent[+DOMEventTarget <: EventTarget] extends Object with BaseSyntheticEvent[Event, DOMEventTarget, DOMEventTarget]
    Annotations
    @JSType() @native()
  196. trait SyntheticFocusEvent[+T <: EventTarget] extends Object with SyntheticEvent[T]
    Annotations
    @JSType() @native()
  197. trait SyntheticFormEvent[+T <: EventTarget] extends Object with SyntheticEvent[T]
    Annotations
    @JSType() @native()
  198. trait SyntheticInvalidEvent[+T <: EventTarget] extends Object with SyntheticEvent[T]
    Annotations
    @JSType() @native()
  199. trait SyntheticKeyboardEvent[+DOMEventTarget <: EventTarget] extends Object with SyntheticUIEvent[DOMEventTarget]
    Annotations
    @JSType() @native()
  200. trait SyntheticMouseEvent[+DOMEventTarget <: EventTarget] extends Object with SyntheticUIEvent[DOMEventTarget]
    Annotations
    @JSType() @native()
  201. trait SyntheticPointerEvent[+T <: EventTarget] extends Object with SyntheticMouseEvent[T]
    Annotations
    @JSType() @native()
  202. trait SyntheticTouchEvent[+T <: EventTarget] extends Object with SyntheticEvent[T]
    Annotations
    @JSType() @native()
  203. trait SyntheticTransitionEvent[+T <: EventTarget] extends Object with SyntheticEvent[T]
    Annotations
    @JSType() @native()
  204. trait SyntheticUIEvent[+DOMEventTarget <: EventTarget] extends Object with SyntheticEvent[DOMEventTarget]
    Annotations
    @JSType() @native()
  205. trait SyntheticWheelEvent[+T <: EventTarget] extends Object with SyntheticMouseEvent[T]
    Annotations
    @JSType() @native()
  206. trait TableHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  207. class TagT[P <: Object] extends AnyRef

    Create a tag that takes type non-native JS traits.

    Create a tag that takes type non-native JS traits. This is a "factory" for the standard html tags, which are typically lowercase.

  208. trait TdHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  209. trait TextAreaHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  210. trait ThHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  211. trait TimeHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  212. type TouchEventHandler[T <: EventTarget] = Function1[SyntheticTouchEvent[T], Unit]
    Definition Classes
    Events
  213. trait TrackHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]
    Annotations
    @JSType()
  214. type TransitionEventHandler[T <: EventTarget] = Function1[SyntheticTransitionEvent[T], Unit]
    Definition Classes
    Events
  215. type UIEventHandler[T <: EventTarget] = Function1[SyntheticUIEvent[T], Unit]
    Definition Classes
    Events
  216. type UProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  217. trait VideoHTMLAttributes[+T <: EventTarget] extends Object with MediaHTMLAttributes[T]
    Annotations
    @JSType()
  218. type WbrProps = ElementAttributesOnly
    Definition Classes
    HTMLTagsX
  219. trait WebViewHTMLAttributes[+T <: EventTarget] extends Object with HTMLAttributes[T]

    Electron support.

    Electron support.

    Annotations
    @JSType()
  220. type WebviewProps = WebViewHTMLAttributes[Element]
    Definition Classes
    HTMLTagsX
  221. type WheelEventHandler[T <: EventTarget] = Function1[SyntheticWheelEvent[T], Unit]
    Definition Classes
    Events

Deprecated Type Members

  1. class Tag extends AnyRef

    Create a tag from a list of attributes.

    Create a tag from a list of attributes. This is a "factory" for tags as react elements.

    Deprecated

    Use TagT.

Value Members

  1. final lazy val a: TagT[AProps]
    Definition Classes
    HTMLTagsX
  2. final lazy val abbr: TagT[AbbrProps]
    Definition Classes
    HTMLTagsX
  3. final lazy val address: TagT[AddressProps]
    Definition Classes
    HTMLTagsX
  4. final lazy val area: TagT[AreaProps]
    Definition Classes
    HTMLTagsX
  5. final lazy val article: TagT[ArticleProps]
    Definition Classes
    HTMLTagsX
  6. final lazy val aside: TagT[AsideProps]
    Definition Classes
    HTMLTagsX
  7. def asideWithClass(cn: String)(children: ReactNode*): ReactDOMElement
    Definition Classes
    HTMLTagsX
  8. final lazy val audio: TagT[AudioProps]
    Definition Classes
    HTMLTagsX
  9. final lazy val b: TagT[BProps]
    Definition Classes
    HTMLTagsX
  10. final lazy val base: TagT[BaseProps]
    Definition Classes
    HTMLTagsX
  11. final lazy val blockquote: TagT[BlockQuoteProps]
    Definition Classes
    HTMLTagsX
  12. final lazy val body: TagT[BodyProps]
    Definition Classes
    HTMLTagsX
  13. final lazy val br: TagT[BrProps]
    Definition Classes
    HTMLTagsX
  14. final lazy val button: TagT[ButtonProps]
    Definition Classes
    HTMLTagsX
  15. final lazy val canvas: TagT[CanvasProps]
    Definition Classes
    HTMLTagsX
  16. final lazy val caption: TagT[CaptionProps]
    Definition Classes
    HTMLTagsX
  17. final lazy val cite: TagT[CiteProps]
    Definition Classes
    HTMLTagsX
  18. final lazy val code: TagT[CodeProps]
    Definition Classes
    HTMLTagsX
  19. final lazy val col: TagT[ColProps]
    Definition Classes
    HTMLTagsX
  20. final lazy val colgroup: TagT[ColgroupProps]
    Definition Classes
    HTMLTagsX
  21. final lazy val data: TagT[DataProps]
    Definition Classes
    HTMLTagsX
  22. final lazy val datalist: TagT[DataListProps]
    Definition Classes
    HTMLTagsX
  23. final lazy val del: TagT[DelProps]
    Definition Classes
    HTMLTagsX
  24. final lazy val details: TagT[DetailsProps]
    Definition Classes
    HTMLTagsX
  25. final lazy val dfn: TagT[DfnProps]
    Definition Classes
    HTMLTagsX
  26. final lazy val dialog: TagT[DialogProps]
    Definition Classes
    HTMLTagsX
  27. final lazy val div: TagT[DivProps]
    Definition Classes
    HTMLTagsX
  28. def divWithClass(cn: UndefOr[String], children: ReactNode*): ReactDOMElement
    Definition Classes
    HTMLTagsX
  29. def divWithClassname(cn: UndefOr[String], children: ReactNode*): ReactDOMElement

    A common scenario to wrap a div just to add the classname.

    A common scenario to wrap a div just to add the classname.

    Definition Classes
    HTMLTagsX
  30. def divWithKeyAndClass(key: String, cn: UndefOr[String], children: ReactNode*): ReactDOMElement
    Definition Classes
    HTMLTagsX
  31. final lazy val dl: TagT[DlProps]
    Definition Classes
    HTMLTagsX
  32. final lazy val dt: TagT[DtProps]
    Definition Classes
    HTMLTagsX
  33. final lazy val em: TagT[EmProps]
    Definition Classes
    HTMLTagsX
  34. final lazy val embed: TagT[EmbedProps]
    Definition Classes
    HTMLTagsX
  35. final lazy val fieldset: TagT[FieldsetProps]
    Definition Classes
    HTMLTagsX
  36. final lazy val figcaption: TagT[FigcaptionProps]
    Definition Classes
    HTMLTagsX
  37. final lazy val figure: TagT[FigureProps]
    Definition Classes
    HTMLTagsX
  38. final lazy val footer: TagT[FooterProps]
    Definition Classes
    HTMLTagsX
  39. final lazy val form: TagT[FormProps]
    Definition Classes
    HTMLTagsX
  40. def h1(text: String): ReactDOMElement
    Definition Classes
    HTMLTagsX
  41. final lazy val h1: TagT[HProps]
    Definition Classes
    HTMLTagsX
  42. def h2(text: String): ReactDOMElement
    Definition Classes
    HTMLTagsX
  43. final lazy val h2: TagT[HProps]
    Definition Classes
    HTMLTagsX
  44. def h3(text: String): ReactDOMElement
    Definition Classes
    HTMLTagsX
  45. final lazy val h3: TagT[HProps]
    Definition Classes
    HTMLTagsX
  46. def h4(text: String): ReactDOMElement
    Definition Classes
    HTMLTagsX
  47. final lazy val h4: TagT[HProps]
    Definition Classes
    HTMLTagsX
  48. def h5(text: String): ReactDOMElement
    Definition Classes
    HTMLTagsX
  49. final lazy val h5: TagT[HProps]
    Definition Classes
    HTMLTagsX
  50. def h6(text: String): ReactDOMElement
    Definition Classes
    HTMLTagsX
  51. final lazy val h6: TagT[HProps]
    Definition Classes
    HTMLTagsX
  52. final lazy val head: TagT[HeadProps]
    Definition Classes
    HTMLTagsX
  53. final lazy val header: TagT[HeaderProps]
    Definition Classes
    HTMLTagsX
  54. final lazy val hgroup: TagT[HgroupProps]
    Definition Classes
    HTMLTagsX
  55. final lazy val hr: TagT[HrProps]
    Definition Classes
    HTMLTagsX
  56. final lazy val html: TagT[HtmlProps]
    Definition Classes
    HTMLTagsX
  57. def i(text: String): ReactDOMElement
    Definition Classes
    HTMLTagsX
  58. final lazy val i: TagT[IProps]
    Definition Classes
    HTMLTagsX
  59. final lazy val iframe: TagT[IframeProps]
    Definition Classes
    HTMLTagsX
  60. final lazy val img: TagT[ImgProps]
    Definition Classes
    HTMLTagsX
  61. final lazy val ins: TagT[InsProps]
    Definition Classes
    HTMLTagsX
  62. final lazy val kbd: TagT[KbdProps]
    Definition Classes
    HTMLTagsX
  63. final lazy val keygen: TagT[KeygenProps]
    Definition Classes
    HTMLTagsX
  64. final lazy val label: TagT[LabelProps]
    Definition Classes
    HTMLTagsX
  65. final lazy val legend: TagT[LegendProps]
    Definition Classes
    HTMLTagsX
  66. final lazy val li: TagT[LiProps]
    Definition Classes
    HTMLTagsX
  67. final lazy val link: TagT[LinkProps]
    Definition Classes
    HTMLTagsX
  68. final lazy val main: TagT[MainProps]
    Definition Classes
    HTMLTagsX
  69. def mainWith(cn: String, children: ReactNode*): ReactDOMElement

    Common scenario to have a main method with no attributes.

    Common scenario to have a main method with no attributes.

    Definition Classes
    HTMLTagsX
  70. final lazy val map: TagT[MapProps]
    Definition Classes
    HTMLTagsX
  71. final lazy val mark: TagT[MarkProps]
    Definition Classes
    HTMLTagsX
  72. final lazy val menu: TagT[MenuProps]
    Definition Classes
    HTMLTagsX
  73. final lazy val menuitem: TagT[MenuitemProps]
    Definition Classes
    HTMLTagsX
  74. final lazy val meta: TagT[MetaProps]
    Definition Classes
    HTMLTagsX
  75. final lazy val meter: TagT[MeterProps]
    Definition Classes
    HTMLTagsX
  76. final lazy val nav: TagT[NavProps]
    Definition Classes
    HTMLTagsX
  77. final lazy val noscript: TagT[NoscriptProps]
    Definition Classes
    HTMLTagsX
  78. final lazy val object: TagT[ObjectProps]
    Definition Classes
    HTMLTagsX
  79. final lazy val ol: TagT[OlProps]
    Definition Classes
    HTMLTagsX
  80. final lazy val optgroup: TagT[OptgroupProps]
    Definition Classes
    HTMLTagsX
  81. final lazy val option: TagT[OptionProps]
    Definition Classes
    HTMLTagsX
  82. final lazy val output: TagT[OutputProps]
    Definition Classes
    HTMLTagsX
  83. def p(text: String): ReactDOMElement

    Convenience: Create p from text.

    Convenience: Create p from text.

    Definition Classes
    HTMLTagsX
  84. final lazy val p: TagT[PProps]
    Definition Classes
    HTMLTagsX
  85. final lazy val param: TagT[ParamProps]
    Definition Classes
    HTMLTagsX
  86. final lazy val picture: TagT[PictureProps]
    Definition Classes
    HTMLTagsX
  87. final lazy val pre: TagT[PreProps]
    Definition Classes
    HTMLTagsX
  88. final lazy val progress: TagT[ProgressProps]
    Definition Classes
    HTMLTagsX
  89. final lazy val q: TagT[QProps]
    Definition Classes
    HTMLTagsX
  90. final lazy val s: TagT[SProps]
    Definition Classes
    HTMLTagsX
  91. final lazy val samp: TagT[SampProps]
    Definition Classes
    HTMLTagsX
  92. final lazy val scripf: TagT[ScriptProps]
    Definition Classes
    HTMLTagsX
  93. final lazy val section: TagT[SectionProps]
    Definition Classes
    HTMLTagsX
  94. final lazy val select: TagT[SelectProps]
    Definition Classes
    HTMLTagsX
  95. final lazy val small: TagT[SmallProps]
    Definition Classes
    HTMLTagsX
  96. final lazy val source: TagT[SourceProps]
    Definition Classes
    HTMLTagsX
  97. final lazy val span: TagT[SpanProps]
    Definition Classes
    HTMLTagsX
  98. def spanWithClassname(cn: UndefOr[String], children: ReactNode*): ReactDOMElement
    Definition Classes
    HTMLTagsX
  99. final lazy val strong: TagT[StrongProps]
    Definition Classes
    HTMLTagsX
  100. final lazy val style: TagT[StyleProps]
    Definition Classes
    HTMLTagsX
  101. final lazy val sub: TagT[SubProps]
    Definition Classes
    HTMLTagsX
  102. final lazy val summary: TagT[SummaryProps]
    Definition Classes
    HTMLTagsX
  103. final lazy val sup: TagT[SubProps]
    Definition Classes
    HTMLTagsX
  104. final lazy val table: TagT[TableProps]
    Definition Classes
    HTMLTagsX
  105. def tag(name: String): Tag

    Create tag that uses the "list" property syntax.

    Create tag that uses the "list" property syntax.

    Annotations
    @inline()
  106. def tagt[P <: Object](name: String): TagT[P]

    Create a tag that takes a typed js.Object for props.

    Create a tag that takes a typed js.Object for props.

    Annotations
    @inline()
  107. final lazy val tbody: TagT[TbodyProps]
    Definition Classes
    HTMLTagsX
  108. final lazy val td: TagT[TdProps]
    Definition Classes
    HTMLTagsX
  109. final lazy val textarea: TagT[TextareaProps]
    Definition Classes
    HTMLTagsX
  110. final lazy val tfoot: TagT[TfootProps]
    Definition Classes
    HTMLTagsX
  111. final lazy val th: TagT[ThProps]
    Definition Classes
    HTMLTagsX
  112. final lazy val thead: TagT[TheadProps]
    Definition Classes
    HTMLTagsX
  113. final lazy val time: TagT[TimeProps]
    Definition Classes
    HTMLTagsX
  114. final lazy val title: TagT[TitleProps]
    Definition Classes
    HTMLTagsX
  115. final lazy val tr: TagT[TrProps]
    Definition Classes
    HTMLTagsX
  116. final lazy val track: TagT[TrackProps]
    Definition Classes
    HTMLTagsX
  117. final lazy val u: TagT[UProps]
    Definition Classes
    HTMLTagsX
  118. final lazy val ul: TagT[UlProps]
    Definition Classes
    HTMLTagsX
  119. final lazy val video: TagT[VideoProps]
    Definition Classes
    HTMLTagsX
  120. final lazy val wbr: TagT[WbrProps]
    Definition Classes
    HTMLTagsX
  121. final lazy val webview: TagT[WebviewProps]
    Definition Classes
    HTMLTagsX
  122. object AlignItems
  123. object Attrs

    Instead of using the methods on this object directly, import attrlist and use Style or Attribute which has more semantic meeting.

  124. object BoxSizing
  125. object input extends TagT[InputProps]

    Can use either input(props)(children) or input.checkbox(props)(children).

    Can use either input(props)(children) or input.checkbox(props)(children).

    Definition Classes
    HTMLTagsX
  126. object JustifyContent
  127. object attrlist extends AttributeListSyntax

    Import this to use the list-style attribute syntax.

    Import this to use the list-style attribute syntax. Create an attribtute list using Attrs or after importing the contents of this object, if they are styles, Style(<attribute list>) and convert it to a js.Object using .toJs(). You can then use the js.Object when creating elements by merging that value into trait structures that represent only allowed attributes for a specific tag.

  128. object styling

Inherited from HTMLTagsX

Inherited from Events

Inherited from AnyRef

Inherited from Any

Ungrouped