Property | Attribute | Description | Type | Default |
---|---|---|---|---|
color |
color |
The color to use, default is default |
"default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" |
'default' |
disabled |
disabled |
If true , then user cannot interact with the button and changed color |
boolean |
false |
display |
display |
Display of the button | "fullwidth" |
undefined |
href |
href |
Contains a URL If prop is set, an anchor tag will be rendered | string |
undefined |
shape |
shape |
Shape of the button | "round" |
undefined |
size |
size |
Size of the button, default set normal | "large" | "medium" | "small" |
undefined |
target |
target |
Where to display linked url apply when href props provided clue: _blank, _self |
string |
undefined |
type |
type |
Type of the button | "button" | "reset" | "submit" |
'button' |
Built with StencilJS