trait HTMLTagsX extends AnyRef
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.
- Alphabetic
- By Inheritance
- HTMLTagsX
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait AProps extends Object with AnchorHTMLAttributes[Anchor] with ClassAttributes[Anchor]
- Annotations
- @JSType()
- type AbbrProps = ElementAttributesOnly
- type AddressProps = ElementAttributesOnly
- trait AreaProps extends Object with AreaHTMLAttributes[Area] with ClassAttributes[Area]
- Annotations
- @JSType()
- type ArticleProps = ElementAttributesOnly
- type AsideProps = ElementAttributesOnly
- trait AudioProps extends Object with AudioHTMLAttributes[Audio] with ClassAttributes[Audio]
- Annotations
- @JSType()
- type BProps = ElementAttributesOnly
- trait BaseProps extends Object with BaseHTMLAttributes[Base] with ClassAttributes[Base]
- Annotations
- @JSType()
- type BlockQuoteProps = ElementAttributesOnly
- trait BodyProps extends Object with HTMLAttributes[Body] with ClassAttributes[Body]
- Annotations
- @JSType()
- type BrProps = ElementAttributesOnly
- trait ButtonProps extends Object with ButtonHTMLAttributes[Button] with ClassAttributes[Button]
- Annotations
- @JSType()
- trait CanvasProps extends Object with CanvasHTMLAttributes[Canvas] with ClassAttributes[Canvas]
- Annotations
- @JSType()
- type CaptionProps = ElementAttributesOnly
- type CiteProps = ElementAttributesOnly
- type CodeProps = ElementAttributesOnly
- trait ColProps extends Object with ColHTMLAttributes[Element] with ClassAttributes[Element]
- Annotations
- @JSType()
- trait ColgroupProps extends Object with ColgroupHTMLAttributes[Element] with ClassAttributes[Element]
- Annotations
- @JSType()
- trait DataListProps extends Object with HTMLAttributes[DataList] with ClassAttributes[DataList]
- Annotations
- @JSType()
- type DataProps = ElementAttributesOnly
- type DelProps = ElementAttributesOnly
- type DetailsProps = ElementAttributesOnly
- type DfnProps = ElementAttributesOnly
- type DialogProps = ElementAttributesOnly
- trait DivProps extends Object with HTMLAttributes[Div] with ClassAttributes[Div]
- Annotations
- @JSType()
- type DlProps = ElementAttributesOnly
- type DtProps = ElementAttributesOnly
- type EmProps = ElementAttributesOnly
- trait EmbedProps extends Object with EmbedHTMLAttributes[Embed] with ClassAttributes[Embed]
- Annotations
- @JSType()
- trait FieldsetProps extends Object with FieldsetHTMLAttributes[FieldSet] with ClassAttributes[FieldSet]
- Annotations
- @JSType()
- type FigcaptionProps = ElementAttributesOnly
- type FigureProps = ElementAttributesOnly
- type FooterProps = ElementAttributesOnly
- trait FormProps extends Object with FormHTMLAttributes[Form] with ClassAttributes[Form]
- Annotations
- @JSType()
- trait HProps extends Object with HTMLAttributes[Heading]
- Annotations
- @JSType()
- trait HeadProps extends Object with HTMLAttributes[Head] with ClassAttributes[Head]
- Annotations
- @JSType()
- type HeaderProps = ElementAttributesOnly
- type HgroupProps = ElementAttributesOnly
- trait HrProps extends Object with HTMLAttributes[HR] with ClassAttributes[HR]
- Annotations
- @JSType()
- trait HtmlProps extends Object with HtmlHTMLAttributes[Html] with ClassAttributes[Html]
- Annotations
- @JSType()
- type IProps = ElementAttributesOnly
- trait IframeProps extends Object with IframeHTMLAttributes[IFrame] with ClassAttributes[IFrame]
- Annotations
- @JSType()
- trait ImgProps extends Object with ImgHTMLAttributes[Image] with ClassAttributes[Image]
- Annotations
- @JSType()
- trait InputProps extends Object with InputHTMLAttributes[Input] with ClassAttributes[Input]
- Annotations
- @JSType()
- trait InsProps extends Object with InsHTMLAttributes[Mod] with ClassAttributes[Mod]
- Annotations
- @JSType()
- type KbdProps = ElementAttributesOnly
- type KeygenProps = ElementAttributesOnly
- trait LabelProps extends Object with LabelHTMLAttributes[Label] with ClassAttributes[Label]
- Annotations
- @JSType()
- trait LegendProps extends Object with HTMLAttributes[Legend] with ClassAttributes[Legend]
- Annotations
- @JSType()
- trait LiProps extends Object with LiHTMLAttributes[LI] with ClassAttributes[LI]
- Annotations
- @JSType()
- trait LinkProps extends Object with LinkHTMLAttributes[Link] with ClassAttributes[Link]
- Annotations
- @JSType()
- type MainProps = ElementAttributesOnly
- trait MapProps extends Object with MapHTMLAttributes[Map] with ClassAttributes[Map]
- Annotations
- @JSType()
- type MarkProps = ElementAttributesOnly
- trait MenuProps extends Object with MenuHTMLAttributes[Menu] with ClassAttributes[Menu]
- Annotations
- @JSType()
- trait MenuitemProps extends Object with HTMLAttributes[Element] with ClassAttributes[Element]
- Annotations
- @JSType()
- trait MetaProps extends Object with MetaHTMLAttributes[Meta] with ClassAttributes[Meta]
- Annotations
- @JSType()
- type MeterProps = ElementAttributesOnly
not on IE or safari.
- type NavProps = ElementAttributesOnly
- type NoscriptProps = ElementAttributesOnly
- trait ObjectProps extends Object with ObjectHTMLAttributes[Object] with ClassAttributes[Object]
- Annotations
- @JSType()
- trait OlProps extends Object with OlHTMLAttributes[Element] with ClassAttributes[Element]
- Annotations
- @JSType()
- trait OptgroupProps extends Object with OptgroupHTMLAttributes[OptGroup] with ClassAttributes[OptGroup]
- Annotations
- @JSType()
- trait OptionProps extends Object with OptionHTMLAttributes[Option] with ClassAttributes[Option]
- Annotations
- @JSType()
- type OutputProps = ElementAttributesOnly
- trait PProps extends Object with HTMLAttributes[Paragraph] with ClassAttributes[Paragraph]
- Annotations
- @JSType()
- trait ParamProps extends Object with ParamHTMLAttributes[Param] with ClassAttributes[Param]
- Annotations
- @JSType()
- type PictureProps = ElementAttributesOnly
- type PreProps = ElementAttributesOnly
- trait ProgressProps extends Object with ProgressHTMLAttributes[Progress] with ClassAttributes[Progress]
- Annotations
- @JSType()
- trait QProps extends Object with QuoteHTMLAttributes[Quote] with ClassAttributes[Quote]
- Annotations
- @JSType()
- type SProps = ElementAttributesOnly
- type SampProps = ElementAttributesOnly
- trait ScriptProps extends Object with ScriptHTMLAttributes[Script] with ClassAttributes[Script]
- Annotations
- @JSType()
- type SectionProps = ElementAttributesOnly
- trait SelectProps extends Object with SelectHTMLAttributes[Select] with ClassAttributes[Select]
- Annotations
- @JSType()
- type SmallProps = ElementAttributesOnly
- trait SourceProps extends Object with SourceHTMLAttributes[Source] with ClassAttributes[Source]
- Annotations
- @JSType()
- trait SpanProps extends Object with HTMLAttributes[Span] with ClassAttributes[Span]
- Annotations
- @JSType()
- type StrongProps = ElementAttributesOnly
- trait StyleProps extends Object with StyleHTMLAttributes[Style] with ClassAttributes[Style]
- Annotations
- @JSType()
- type SubProps = ElementAttributesOnly
- type SummaryProps = ElementAttributesOnly
- type SupProps = ElementAttributesOnly
- trait TableProps extends Object with TableHTMLAttributes[Table] with ClassAttributes[Table]
- Annotations
- @JSType()
- trait TbodyProps extends Object with HTMLAttributes[TableSection] with ClassAttributes[TableSection]
- Annotations
- @JSType()
- trait TdProps extends Object with HTMLAttributes[TableCell] with ClassAttributes[TableCell]
- Annotations
- @JSType()
- trait TextareaProps extends Object with TextAreaHTMLAttributes[TextArea] with ClassAttributes[TextArea]
- Annotations
- @JSType()
- trait TfootProps extends Object with HTMLAttributes[TableSection] with ClassAttributes[TableSection]
- Annotations
- @JSType()
- trait ThProps extends Object with ThHTMLAttributes[TableCell] with ClassAttributes[TableCell]
- Annotations
- @JSType()
- trait TheadProps extends Object with HTMLAttributes[TableSection] with ClassAttributes[TableSection]
- Annotations
- @JSType()
- trait TimeProps extends Object with TimeHTMLAttributes[Element] with ClassAttributes[Element]
- Annotations
- @JSType()
- trait TitleProps extends Object with HTMLAttributes[Title] with ClassAttributes[Title]
- Annotations
- @JSType()
- trait TrProps extends Object with HTMLAttributes[TableRow] with ClassAttributes[TableRow]
- Annotations
- @JSType()
- trait TrackProps extends Object with TrackHTMLAttributes[Track] with ClassAttributes[Track]
- Annotations
- @JSType()
- type UProps = ElementAttributesOnly
- trait UlProps extends Object with HTMLAttributes[UList] with ClassAttributes[UList]
- Annotations
- @JSType()
- trait VideoProps extends Object with VideoHTMLAttributes[Video] with ClassAttributes[Video]
- Annotations
- @JSType()
- type WbrProps = ElementAttributesOnly
- type WebviewProps = WebViewHTMLAttributes[Element]
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 lazy val a: TagT[AProps]
- final lazy val abbr: TagT[AbbrProps]
- final lazy val address: TagT[AddressProps]
- final lazy val area: TagT[AreaProps]
- final lazy val article: TagT[ArticleProps]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final lazy val aside: TagT[AsideProps]
- def asideWithClass(cn: String)(children: ReactNode*): ReactDOMElement
- final lazy val audio: TagT[AudioProps]
- final lazy val b: TagT[BProps]
- final lazy val base: TagT[BaseProps]
- final lazy val blockquote: TagT[BlockQuoteProps]
- final lazy val body: TagT[BodyProps]
- final lazy val br: TagT[BrProps]
- final lazy val button: TagT[ButtonProps]
- final lazy val canvas: TagT[CanvasProps]
- final lazy val caption: TagT[CaptionProps]
- final lazy val cite: TagT[CiteProps]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final lazy val code: TagT[CodeProps]
- final lazy val col: TagT[ColProps]
- final lazy val colgroup: TagT[ColgroupProps]
- final lazy val data: TagT[DataProps]
- final lazy val datalist: TagT[DataListProps]
- final lazy val del: TagT[DelProps]
- final lazy val details: TagT[DetailsProps]
- final lazy val dfn: TagT[DfnProps]
- final lazy val dialog: TagT[DialogProps]
- final lazy val div: TagT[DivProps]
- def divWithClass(cn: UndefOr[String], children: ReactNode*): ReactDOMElement
- def divWithClassname(cn: UndefOr[String], children: ReactNode*): ReactDOMElement
A common scenario to wrap a div just to add the classname.
- def divWithKeyAndClass(key: String, cn: UndefOr[String], children: ReactNode*): ReactDOMElement
- final lazy val dl: TagT[DlProps]
- final lazy val dt: TagT[DtProps]
- final lazy val em: TagT[EmProps]
- final lazy val embed: TagT[EmbedProps]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final lazy val fieldset: TagT[FieldsetProps]
- final lazy val figcaption: TagT[FigcaptionProps]
- final lazy val figure: TagT[FigureProps]
- final lazy val footer: TagT[FooterProps]
- final lazy val form: TagT[FormProps]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def h1(text: String): ReactDOMElement
- final lazy val h1: TagT[HProps]
- def h2(text: String): ReactDOMElement
- final lazy val h2: TagT[HProps]
- def h3(text: String): ReactDOMElement
- final lazy val h3: TagT[HProps]
- def h4(text: String): ReactDOMElement
- final lazy val h4: TagT[HProps]
- def h5(text: String): ReactDOMElement
- final lazy val h5: TagT[HProps]
- def h6(text: String): ReactDOMElement
- final lazy val h6: TagT[HProps]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final lazy val head: TagT[HeadProps]
- final lazy val header: TagT[HeaderProps]
- final lazy val hgroup: TagT[HgroupProps]
- final lazy val hr: TagT[HrProps]
- final lazy val html: TagT[HtmlProps]
- def i(text: String): ReactDOMElement
- final lazy val i: TagT[IProps]
- final lazy val iframe: TagT[IframeProps]
- final lazy val img: TagT[ImgProps]
- final lazy val ins: TagT[InsProps]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final lazy val kbd: TagT[KbdProps]
- final lazy val keygen: TagT[KeygenProps]
- final lazy val label: TagT[LabelProps]
- final lazy val legend: TagT[LegendProps]
- final lazy val li: TagT[LiProps]
- final lazy val link: TagT[LinkProps]
- final lazy val main: TagT[MainProps]
- def mainWith(cn: String, children: ReactNode*): ReactDOMElement
Common scenario to have a main method with no attributes.
- final lazy val map: TagT[MapProps]
- final lazy val mark: TagT[MarkProps]
- final lazy val menu: TagT[MenuProps]
- final lazy val menuitem: TagT[MenuitemProps]
- final lazy val meta: TagT[MetaProps]
- final lazy val meter: TagT[MeterProps]
- final lazy val nav: TagT[NavProps]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final lazy val noscript: TagT[NoscriptProps]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final lazy val object: TagT[ObjectProps]
- final lazy val ol: TagT[OlProps]
- final lazy val optgroup: TagT[OptgroupProps]
- final lazy val option: TagT[OptionProps]
- final lazy val output: TagT[OutputProps]
- def p(text: String): ReactDOMElement
Convenience: Create
p
from text. - final lazy val p: TagT[PProps]
- final lazy val param: TagT[ParamProps]
- final lazy val picture: TagT[PictureProps]
- final lazy val pre: TagT[PreProps]
- final lazy val progress: TagT[ProgressProps]
- final lazy val q: TagT[QProps]
- final lazy val s: TagT[SProps]
- final lazy val samp: TagT[SampProps]
- final lazy val scripf: TagT[ScriptProps]
- final lazy val section: TagT[SectionProps]
- final lazy val select: TagT[SelectProps]
- final lazy val small: TagT[SmallProps]
- final lazy val source: TagT[SourceProps]
- final lazy val span: TagT[SpanProps]
- def spanWithClassname(cn: UndefOr[String], children: ReactNode*): ReactDOMElement
- final lazy val strong: TagT[StrongProps]
- final lazy val style: TagT[StyleProps]
- final lazy val sub: TagT[SubProps]
- final lazy val summary: TagT[SummaryProps]
- final lazy val sup: TagT[SubProps]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final lazy val table: TagT[TableProps]
- final lazy val tbody: TagT[TbodyProps]
- final lazy val td: TagT[TdProps]
- final lazy val textarea: TagT[TextareaProps]
- final lazy val tfoot: TagT[TfootProps]
- final lazy val th: TagT[ThProps]
- final lazy val thead: TagT[TheadProps]
- final lazy val time: TagT[TimeProps]
- final lazy val title: TagT[TitleProps]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final lazy val tr: TagT[TrProps]
- final lazy val track: TagT[TrackProps]
- final lazy val u: TagT[UProps]
- final lazy val ul: TagT[UlProps]
- final lazy val video: TagT[VideoProps]
- 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])
- final lazy val wbr: TagT[WbrProps]
- final lazy val webview: TagT[WebviewProps]
- object input extends TagT[InputProps]
Can use either input(props)(children) or input.checkbox(props)(children).