Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PostMessage

Hierarchy

  • PostMessage

Index

Properties

Static Private _cache

_cache: Hash<string, PostMessageRecord>

Static Private _optionsCache

_optionsCache: Hash<string, PostMessageSendOptions>

Static Private _optionsCounter

_optionsCounter: number = 0

Methods

getTypeString

  • getTypeString(): string
  • Returns string

Static Private createFrame

  • createFrame(options: PostMessageSendOptions, callback: IAction2<HTMLIFrameElement, string>): void
  • Parameters

    • options: PostMessageSendOptions
    • callback: IAction2<HTMLIFrameElement, string>

    Returns void

Static Private getOrigin

  • getOrigin(url: string): string
  • Parameters

    • url: string

    Returns string

Static Private listen

  • listen(options: PostMessageSendOptions, frame: HTMLIFrameElement): void
  • Parameters

    • options: PostMessageSendOptions
    • frame: HTMLIFrameElement

    Returns void

Static send

  • send(options: PostMessageSendOptions): void
  • Parameters

    • options: PostMessageSendOptions

    Returns void