Skip to main content

Image Comparer

Image Comparer | Image Comparer shadow

The Image Comparer element is used to compare two images. It displays the images on top of each other and allows you to reveal the bottom image using the built-in slider.

Basic Usage

Attributes and Properties

No properties available for this component.

Events

No events available for this component.

Methods

No public methods available for this component.

CSS Shadow Parts

NameDescription
dividerRefers to the div slider divider inside the element.

CSS Custom Properties

No CSS custom properties available for this component.

Slots

NameDescription
afterIt is used to insert an image in front of the slider.
beforeIt is used to insert an image behind the slider.