mds-usage
This is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.
Properties
alias | alias | Specifies the alias of the usage phrase on the top of the component | string | undefined | undefined |
variant | variant | Specifies the delay when the tooltip will trigger | "do" | "dont" | "info" | "warn" | 'info' |
Methods
updateLang() => Promise<void>
Returns
Type: Promise<void>
Slots
"default" | Add text string, HTML elements or components to this slot. |
CSS Custom Properties
--mds-usage-badge-color | Sets the badge text color of the component. |
--mds-usage-border-color | Sets the border color of the component. |
Dependencies
Depends on
Graph
graph TD;
mds-usage --> mds-badge
mds-badge --> mds-text
style mds-usage fill:#f9f,stroke:#333,stroke-width:4px
Built with love @ Gruppo Maggioli from R&D Department