Bitbybit Docs
    Preparing search index...

    Class PostFromIframe (Inputs.Time)

    A message to send from a page embedded in an iframe to the page that embeds it, using the browser's postMessage: the data and the origin allowed to receive it.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionaldata: any
      • OptionaltargetOrigin: string

      Returns PostFromIframe

    Properties

    data: any

    The value to send; it is copied across, so it must be serializable

    targetOrigin: string

    Origin of the page allowed to receive the message, such as https://example.com; only a page from that origin gets it