Skip to content

Image Overlay

EImageOverlay is a kind of image superimposed over another image or video. It is applied to an underlying image or video to add more text or graphic components.Demo Here

Usage

vue

<EImageOverlay src="image_src">
  Ipsum Dolor Sit Amet
</EImageOverlay>

Props

For EImageOverlay component, the following props are available:

PropTypeDefaultNote
srcString-image overlay src attribute.
altString-The alt attribute specifies an alternate text for an area, if the image cannot be displayed.
widthString-Sets the component's width.
heightString-Sets the component's height.
squareBooleanfalseRemoves rounded corners of the element.
activeBooleanfalseBy using this prop the overlay appears on image.
shouldDetectHoverBooleantrueBy using this prop the overlay appears on image only during hover.
animationString-The EImageOverlay element can be animated in four ways: rotate-left, rotate-right, zoom-out and zoom-in.

Slots

The EImageOverlay component provides a default slot that enable you to customize the content.

SlotDescription
defaultThe default Vue slot.

COPYRIGHT