ema-button
Overall
<ema-button>
is ema version of <button>
component.
Properties
color | color | "primary" | "dark" | "danger" | "primary" | Button's color. |
disabled | disabled | boolean | false | Disabled if true value is passed. |
label | label | string | "" | Used as a button label. |
size | size | "large" | "medium" | "small" | "large" | Button size. |
type | type | "normal" | "ghost" | "normal" | Button's design type. |
Events
CSS Custom Properties
--ema-c-button-bgColor | "liner-gradient(90deg, #80a6ea, #5289ea)" | Background color. |
--ema-c-button-bgColor-hover | "liner-gradient(90deg, #526280, #5289ea)" | Background color when you mouse over it. |
--ema-c-button-labelColor | "#5289ea" | Label color. |
--ema-c-button-labelColor-hover | "#fff" | Label color when you mouse over it. |