NameDescriptionDefaultControl
text
-
properties
autofocus
Indicates that the button should have input focus when the page loads.
boolean
false
disabled
Indicates that the button cannot be pressed or focused by the user.
boolean
false
fullWidth
Indicates the button's width should match its container.
boolean
false
iconCondensed
Applies only to icon-only buttons. If true, the button will have minimal padding.
boolean
false
large
Indicates the button has more padding.
boolean
false
onBackground
Indicates the button is on a AA compliant background.
boolean
false
pressed
Indicates this button is a toggle button and whether it is pressed or not.
PressedState
'undefined'
type
Indicates the default behavior of the button via the HTML5 attribute.
ButtonTypeundefined
variant
Indicates the variant of button.
ButtonVariant
'primary'
icon
The icon to be shown as the content of the button.
IconNameundefined
label
Indicates the aria label to apply to the button.
stringundefined
name
Indicates the name when submitted with form data.
stringundefined
value
Indicates the value associated with the name when submitted with form data.
stringundefined
download
Indicates to save the linked URL instead of navigating to it.
stringundefined
href
Indicates the URL that the hyperlink points to.
stringundefined
hreflang
Indicates the language of the linked URL.
stringundefined
ping
Indicates the URLs to ping.
stringundefined
rel
Indicates the type of link.
stringundefined
target
Indicates where to display the linked URL.
LinkTargetundefined
elementDefinitions
object
{ 'pharos-icon': PharosIcon, }
iconRight
The icon to be shown on the right side.
IconNameundefined
iconLeft
The icon to be shown on the left side.
IconNameundefined
_button
HTMLButtonElementHTMLAnchorElement
_formButton
HTMLButtonElement
_form
HTMLFormElementnull
buttonContent
TemplateResult
attributes
icon-condensed
Applies only to icon-only buttons. If true, the button will have minimal padding.
boolean
false
icon-right
The icon to be shown on the right side.
IconNameundefined
icon-left
The icon to be shown on the left side.
IconNameundefined
on-background
Indicates the button is on a AA compliant background.
boolean
false
full-width
Indicates the button's width should match its container.
boolean
false