trait MessageProps extends Object
- Annotations
- @JSType() @native()
- Alphabetic
- By Inheritance
- MessageProps
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- 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 attached: UndefOr[|[Boolean, String]]
A message can be formatted to attach itself to other content.
- val children: UndefOr[Node]
Primary content.
- val className: UndefOr[String]
Additional classes.
- val color: UndefOr[SemanticCOLORS]
A message can be formatted to be different colors.
- val compact: UndefOr[Boolean]
A message can only take up the width of its content.
- val content: UndefOr[SemanticShorthandItemS[MessageContentProps]]
Shorthand for primary content.
- val error: UndefOr[Boolean]
A message may be formatted to display a negative message.
A message may be formatted to display a negative message. Same as
negative
. - val floating: UndefOr[Boolean]
A message can float above content that it is related to.
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- val header: UndefOr[SemanticShorthandItemS[MessageHeaderProps]]
Shorthand for MessageHeader.
- val hidden: UndefOr[Boolean]
A message can be hidden.
- val icon: UndefOr[SemanticShorthandItemSB[IconProps]]
Add an icon by icon name or pass an <Icon /.>
- val info: UndefOr[Boolean]
A message may be formatted to display information.
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- val list: UndefOr[RawList]
Array shorthand items for the MessageList.
Array shorthand items for the MessageList. Mutually exclusive with children.
- val negative: UndefOr[Boolean]
A message may be formatted to display a negative message.
A message may be formatted to display a negative message. Same as
error
. - val onDismiss: UndefOr[Function2[japgolly.scalajs.react.ReactEvent, MessageProps, Unit]]
A message that the user can choose to hide.
A message that the user can choose to hide. Called when the user clicks the "x" icon. This also adds the "x" icon.
- val positive: UndefOr[Boolean]
A message may be formatted to display a positive message.
A message may be formatted to display a positive message. Same as
success
. - def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- val size: UndefOr[SemanticSIZES]
A message can have different sizes.
- val success: UndefOr[Boolean]
A message may be formatted to display a positive message.
A message may be formatted to display a positive message. Same as
positive
. - def toLocaleString(): String
- Definition Classes
- Object
- def update(key: String, v: Any): Unit
- Annotations
- @JSBracketAccess()
- def valueOf(): Any
- Definition Classes
- Object
- val visible: UndefOr[Boolean]
A message can be set to visible to force itself to be shown.
- val warning: UndefOr[Boolean]
A message may be formatted to display warning messages.