Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Modal

Index

Constructors

constructor

  • new Modal(url: string, userConfig: any): Modal
  • Parameters

    • url: string
    • userConfig: any

    Returns Modal

Properties

closeButtonText

closeButtonText: string

iframe

iframe: HTMLIFrameElement

isMobileDevice

isMobileDevice: boolean

overlay

overlay: HTMLElement

redirectOnMobile

redirectOnMobile: boolean

stopPropagation

stopPropagation: boolean

verificationUrl

verificationUrl: string

wrapper

wrapper: HTMLElement

Methods

addPopStateListener

  • addPopStateListener(): void
  • Returns void

closeModal

  • closeModal(historyEventTrigger?: boolean): void
  • Parameters

    • Default value historyEventTrigger: boolean = false

    Returns void

createCloseBtn

  • createCloseBtn(): HTMLAnchorElement
  • Returns HTMLAnchorElement

createWrapper

  • createWrapper(): HTMLElement
  • Returns HTMLElement

displayModal

  • displayModal(): void
  • Returns void

init

  • init(): void
  • Returns void

popStateEventHandler

  • popStateEventHandler(): void
  • Returns void

Static createOverlay

  • createOverlay(): HTMLElement
  • Returns HTMLElement