Skip to main content

Type Referance

GhostaPopupContext​

OptionsTypeDescription
popupIdnumberID of popup
onClose() => voidClose method of popup

GhostaButtonOptions​

OptionsTypeDescription
titlestringTitle of the button
preventClosebooleanPrevent close when click on button
variantdefault | primary | success | dangerColor | variant of the button
sizesm | md | lgSize of the button
isFilledbooleanif true, button will be filled
onClick(params: GhostaPopupContext) => voidonClick event of button

GhostaPopupElementColors​

OptionsTypeDescription
textIconstringIcon color
bgIconstringIcon background color
textTitlestringTitle color
textDescriptionstringDescription color
bgPanelstringPanel background color
bgBackdropstringBackdrop background color
textCloseButtonstringClose button color
bgCloseButtonstringClose button background color

GhostaPopupClassNames​

OptionsType
panelstring
panelHeaderstring
panelBodystring
panelFooterstring
backdropstring
iconstring
descriptionstring
button
basestring
variants
defaultstring
primarystring
successstring
dangerstring
sizes
smstring
mdstring
lgstring