Class IgcDialogComponent

Represents a Dialog component.

igc-dialog

igcClosing - Emitter just before the dialog is closed.

igcClosed - Emitted after closing the dialog.

  • Renders content inside the default slot.

title - Renders the title of the dialog header.

footer - Renders the dialog footer.

base - The base wrapper of the dialog.

title - The title container.

footer - The footer container.

overlay - The overlay.

Hierarchy

Hierarchy

  • EventEmitterInterface<IgcDialogEventMap, this> & LitElement<this>
    • IgcDialogComponent

Properties

closeOnOutsideClick: boolean = false

Whether the dialog should be closed when clicking outside of it.

close-on-outside-click

hideDefaultAction: boolean = false

Whether to hide the default action button for the dialog.

When there is projected content in the footer slot this property has no effect.

hide-default-action

keepOpenOnEscape: boolean = false

Whether the dialog should be kept open when pressing the 'ESCAPE' button.

keep-open-on-escape

open: boolean = false

Whether the dialog is opened.

returnValue: string

Sets the return value for the dialog.

title: string

Sets the title of the dialog.

tagName: "igc-dialog" = 'igc-dialog'

Returns the HTML-uppercased qualified name.

MDN Reference

Methods