Slots are placeholders inside of a component that allows you to insert your own markup.

All Slots
NameMember ofDescriptionDemo
ZingGridGrid content or configuration that accepts `` elements that are allowed to be manually inserted.
ZGTextText value.
ZGSourceSource content.
ZGPagerPager content. If used with the other pager slot, the content is placed beneath the other slots.
ZGNoDataNo data content.
ZGMenuItemMenu item content.
ZGMenuMenu content. Overwrites default menu when `[replace]` is present, else appends to the end of the default menu. Accepts ZGMenuGroup, ZGMenuItem, and ZGSeparator to construct custom menu.
ZGLoadMaskLoading mask content.
ZGInputContent after input field.
ZGFooterFooter content.
ZGDialogDialog body content.
ZGDataData content that only accepts data configuration options (ZGParams).
ZGColumnCustom column content.
ZGColgroupColgroup content that only accepts columns (ZGColumns).
ZGCheckboxCheckbox label.
ZGCardCard content.
ZGCaptionCaption title.
ZGButtonButton content.
centerZGPagerPager content placed in the center.
iconZGIconIcon content.
iconZGButtonButton icon. Replaces the default slot.
inputZGInputContent before input field.
labelZGButtonButton label. Use to add a label when using the "icon" slot.
leftZGPagerPager content placed in the left.
messageZGCaptionCaption title. Use when using a feature that enables caption toolbar ([contextMenu], [search], [staticMenu]).
rightZGPagerPager content placed in the right.
toolZGCaptionCaption toolbar, which is added to the rightmost of caption by default.
zgMenuGroupItemsZGMenuGroupMenu group items that only accepts menu items (ZGMenuItems).
zgMenuGroupLabelZGMenuGroupMenu group label.

[api: slots]

On This Page