Skip to main content

Icon Picker

shadow

Icon picker umožňuje používateľovi nájsť a zvoliť ikonu zo sady dostupných ikon. Jeho súčasťou je textové vyhľádavanie pre jednoduchšie vyhľadanie ikony.

Základné použitie

Atribúty a Vlastnosti

icon

DescriptionThe name of the selected icon.
Attributeicon
Typestring
Defaultundefined

size

DescriptionThe number of icons displayed per page in infinite scrolling. The default value is 60.
Attributesize
Typenumber
Default60

Eventy

NameDescription
wje-icon-picker:selectIt is emitted when the icon is selected.

Metódy

No public methods available for this component.

CSS Shadow Parts

NameDescription
nativeRefers to the main container of the element.
anchorRefers to the element that serves as an anchor for the popup window.
pickerThe part of the picker containing the interface for searching and selecting icons.
inputIcon search input section.

CSS Custom Vlastnosti

NameDescription
--wje-icon-picker-icon-sizeIcon size in icon picker
--wje-icon-picker-paddingIcon spacing in icon picker
--wje-icon-picker-border-widthEdge width of the icon picker
--wje-icon-picker-border-styleEdge style icon picker
--wje-icon-picker-border-colorEdge colour icon picker
--wje-icon-picker-radiusRounding the corners of the icon picker
--wje-backgroundIcon picker background colour
--wje-border-colorThe colour used for the background of the icon on mouseover

Sloty

No slots available for this component.