Packages

trait CardProps extends Object

Annotations
@JSType() @native()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CardProps
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(key: String): Any
    Annotations
    @JSBracketAccess()
  2. val as: UndefOr[AsT]

    An element type to render as (string or function).

  3. val centered: UndefOr[Boolean]

    A Card can center itself inside its container.

  4. val children: UndefOr[Node]

    Primary content.

  5. val className: UndefOr[String]

    Additional classes.

  6. val color: UndefOr[SemanticCOLORS]

    A Card can be formatted to display different colors.

  7. val content: UndefOr[SemanticShorthandContent]

    Shorthand for primary component.

  8. val description: UndefOr[SemanticShorthandItemS[CardDescriptionProps]]

    Shorthand for CardDescription.

  9. val extra: UndefOr[SemanticShorthandContent]

    Shorthand for primary content of CardContent.

  10. val fluid: UndefOr[Boolean]

    A Card can be formatted to take up the width of its container.

  11. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  12. val header: UndefOr[SemanticShorthandItemS[CardHeaderProps]]

    Shorthand for CardHeader.

  13. val href: UndefOr[String]

    Render as an a tag instead of a div and adds the href attribute.

  14. val image: UndefOr[SemanticShorthandItemS[ImageProps]]

    A card can contain an Image component.

  15. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  16. val link: UndefOr[Boolean]

    A card can be formatted to link to other content.

  17. val meta: UndefOr[SemanticShorthandItemS[CardMetaProps]]

    Shorthand for CardMeta.

  18. 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 a div.

  19. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  20. val raised: UndefOr[Boolean]

    A Card can be formatted to raise above the page.

  21. def toLocaleString(): String
    Definition Classes
    Object
  22. def update(key: String, v: Any): Unit
    Annotations
    @JSBracketAccess()
  23. def valueOf(): Any
    Definition Classes
    Object