trait CardProps extends Object
- Annotations
- @JSType() @native()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CardProps
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def apply(key: String): Any
- Annotations
- @JSBracketAccess()
- val as: UndefOr[AsT]
An element type to render as (string or function).
- val centered: UndefOr[Boolean]
A Card can center itself inside its container.
- val children: UndefOr[Node]
Primary content.
- val className: UndefOr[String]
Additional classes.
- val color: UndefOr[SemanticCOLORS]
A Card can be formatted to display different colors.
- val content: UndefOr[SemanticShorthandContent]
Shorthand for primary component.
- val description: UndefOr[SemanticShorthandItemS[CardDescriptionProps]]
Shorthand for CardDescription.
- val extra: UndefOr[SemanticShorthandContent]
Shorthand for primary content of CardContent.
- val fluid: UndefOr[Boolean]
A Card can be formatted to take up the width of its container.
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- val header: UndefOr[SemanticShorthandItemS[CardHeaderProps]]
Shorthand for CardHeader.
- val href: UndefOr[String]
Render as an
a
tag instead of adiv
and adds the href attribute. - val image: UndefOr[SemanticShorthandItemS[ImageProps]]
A card can contain an Image component.
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- val link: UndefOr[Boolean]
A card can be formatted to link to other content.
- val meta: UndefOr[SemanticShorthandItemS[CardMetaProps]]
Shorthand for CardMeta.
- val onClick: UndefOr[Function2[japgolly.scalajs.react.ReactMouseEvent, CardProps, Unit]]
Called on click.
Called on click. When passed, the component renders as an
a
tag by default instead of adiv
. - def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- val raised: UndefOr[Boolean]
A Card can be formatted to raise above the page.
- def toLocaleString(): String
- Definition Classes
- Object
- def update(key: String, v: Any): Unit
- Annotations
- @JSBracketAccess()
- def valueOf(): Any
- Definition Classes
- Object