Card media<mds-card-media>Generated from @maggioli-design-system/magma@2.3.0dist/documentation.json. Encapsulation: shadow.
Magma components are web components: custom elements you write like HTML tags, with any framework or without one. Props configure them, events tell you what happened, methods are functions you call on the element and slots take the content you put inside it.
Slots
Slots take the content you write between the tags of the component. The default slot, the one without a name, accepts plain text, unless its description says otherwise. Content for a named slot goes on a direct child with the name of the slot in its slot attribute, such as slot="content".(default)Add HTML elements or components to this slot, it is recommended to add mds-img element or other component which represents media contents.
No slot name
contentAdd text string, HTML elements or components to this slot, contents will be shown in front of the media element.