Class Button


  • public class Button
    extends Element
    This class specify the Symphony Element Button represented by tag name "button". A Button can be included either inside Forms or in UIActions (at least one is required). Depending on the location, the messageML representation can be different. When is part of a Form it can contain the following attributes:
    • name (required) -> used to identify the button
    • type -> default "action", specify the type of the button. Allowed values are "action", "reset" and "cancel"
    • class -> can be "primary", "secondary", "tertiary" (deprecated: "primary-destructive","secondary-destructive")
    • title -> description displayed as a hint
        When the Button is included inside a UIAction, only "class" and "title" are allowed as attributes.