Member Junction
    Preparing search index...

    A nice confirmation dialog to replace browser confirm().

    Index

    Constructors

    Properties

    cancelled: EventEmitter<void> = ...

    Emitted when user cancels

    cancelText: string = 'Cancel'

    Cancel button text

    confirmed: EventEmitter<void> = ...

    Emitted when user confirms

    confirmText: string = 'Confirm'

    Confirm button text

    icon: string = ''

    Custom icon class (optional, uses default based on type if not provided)

    message: string = 'Are you sure you want to proceed?'

    Dialog message

    title: string = 'Confirm Action'

    Dialog title

    type: ConfirmDialogType = 'warning'

    Dialog type (affects icon and button styling)

    visible: boolean = false

    Whether the dialog is visible

    Methods