Bitbybit Docs
    Bereite Suchindex vor...

    Klasse 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

    Konstruktoren

    Eigenschaften

    Konstruktoren

    • Parameter

      • Optionaldata: any
      • OptionaltargetOrigin: string

      Rückgabewert PostFromIframe

    Eigenschaften

    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