Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Document

Hierarchy

  • Document

Index

Methods

addEventListener

  • addEventListener(type: "online", connectionStateCallback: function, useCapture?: boolean): void
  • addEventListener(type: "offline", connectionStateCallback: function, useCapture?: boolean): void
  • Parameters

    • type: "online"
    • connectionStateCallback: function
        • (): any
        • Returns any

    • Optional useCapture: boolean

    Returns void

  • Parameters

    • type: "offline"
    • connectionStateCallback: function
        • (): any
        • Returns any

    • Optional useCapture: boolean

    Returns void