Modal Properties

Type Parameters

  • T = HTMLElement

Hierarchy

  • IBaseProps<IModal>
    • IModalProps

Properties

assignTo?: ((obj) => void)

Type declaration

    • (obj): void
    • Assigns the object to the input parameter.

      Parameters

      Returns void

body?: string | T
className?: string

Custom class names.

disableFade?: boolean
el?: HTMLElement

The element to render the component to.

footer?: string | T
hideCloseButton?: boolean
id?: string
onClose?: ((el) => void)

Type declaration

    • (el): void
    • Parameters

      • el: HTMLDivElement

      Returns void

onRenderBody?: ((el) => void)

Type declaration

    • (el): void
    • Parameters

      • el: HTMLDivElement

      Returns void

onRenderFooter?: ((el) => void)

Type declaration

    • (el): void
    • Parameters

      • el: HTMLDivElement

      Returns void

onRenderHeader?: ((el) => void)

Type declaration

    • (el): void
    • Parameters

      • el: HTMLDivElement

      Returns void

options?: IModalOptions
title?: string
type?: number

Generated using TypeDoc