Skip to main content

renderConfirm

Description​

renderConfirm is a function that makes rendering <jp-confirm> easier.


Parameters​

NameRequiredTypeDescription
optionsConfirmOptionsrendering options
callback(action?: string) => voidcalled when confirm closes


Interfaces​

ConfirmOptions​

Properties​
NameRequiredTypeDescription
titlestringtitle of the confirmation
messagestringinformation within the confirmation
rejectstringreject button inner text
acceptstringaccept button inner text
closablebooleandetermines if a confirmation can be closed
hostHTMLElementelement to append the confirm to