Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IModalProps<T>

Modal Properties

Type parameters

  • T

Hierarchy

  • IBaseProps<IModal>
    • IModalProps

Index

Properties

Optional assignTo

assignTo: (obj: IModal) => void

Assigns the object to the input parameter.

Type declaration

Optional body

body: string | T

Optional className

className: string

Custom class names.

Optional disableFade

disableFade: boolean

Optional el

el: Element | HTMLElement

The element to render the component to.

Optional footer

footer: string | T

Optional hideCloseButton

hideCloseButton: boolean

Optional id

id: string

Optional isCentered

isCentered: boolean

Optional isStatic

isStatic: boolean

Optional onClose

onClose: (el: HTMLDivElement) => void

Type declaration

    • (el: HTMLDivElement): void
    • Parameters

      • el: HTMLDivElement

      Returns void

Optional onRenderBody

onRenderBody: (el: HTMLDivElement) => void

Type declaration

    • (el: HTMLDivElement): void
    • Parameters

      • el: HTMLDivElement

      Returns void

Optional onRenderFooter

onRenderFooter: (el: HTMLDivElement) => void

Type declaration

    • (el: HTMLDivElement): void
    • Parameters

      • el: HTMLDivElement

      Returns void

Optional options

options: IModalOptions

Optional title

title: string

Optional type

type: number

Generated using TypeDoc