Jaspero/ng-confirmations

any configure to avoid click around confirm to close confirm?

Closed this issue · 5 comments

any configure to avoid click around confirm to close confirm?
flauc commented

Hi @woshixiaoqianbi

export interface ConfirmSettings {
    overlay?: boolean; // Default: true
    overlayClickToClose?: boolean; // Default: true
    showCloseButton?: boolean; // Default: true
    confirmText?: string; // Default: 'Yes'
    declineText?: string; // Default: 'No'
}

I think overlayClickToClose?: boolean; is what you're looking for.

@flauc i have tried... this prop cant work...
by the way, https://jaspero.co/resources/projects/ng-confirmations
this demo overlayClickToClose cant work...

flauc commented

You are right. Thank you for pointing it out. 👍
I will look in to it today.

@flauc looking forward to fixbug :)

flauc commented

Sorry for the huge delay, should be fixed now though.