Thumbnail
Thumbnail makes it easier to view larger images or other media by displaying a smaller preview of them. It can be used alone but also in other elements.
Basic Usage
Use in Items
When used in Item. elements, its size adjusts to the size of the parent, and its position can be specified by adding a slot
with a value of start
for left positioning, or end
for right positioning.
Custom styles
Attributes and Properties
circle
Description | Sets the element to round by adding css "border-radius: 50%" |
Attribute | circle |
Type | boolean |
Default | false |
Events
No events available for this component.
Methods
No public methods available for this component.
CSS Shadow Parts
No CSS shadow parts available for this component.
CSS Custom Properties
Name | Description |
---|---|
--wj-border-radius | Defines the amount of rounding of the edges of the element. |
--wj-thumbnail-height | Defines the height of the element. |
--wj-thumbnail-width | Defines the width of the element. |
Slots
No slots available for this component.