m-img

Adds an image.
Properties:
Name Type Attributes Default Description
src string Source image URL
width string Image width
height string <optional>
Image height
alt string <optional>
Alt text — the text that the user will see if the image is not displayed
href string <optional>
If the attribute is set, the image will turn into a link
border-radius string <optional>
Rounding radius
inline Boolean <optional>
Display the image inline
font-family string <optional>
Verdana, Arial, Helvetica, sans-serif Font family for alt texts
font-size string <optional>
14px Font size for alt texts
color string <optional>
#000000 Font color for alt texts
Example
<m-img src="img/logo.png" href="https://ampier.io" width="100" height="60" alt="logo"></m-img>