Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

  • new LocalTransport(preifx?: string, stackSize?: number): LocalTransport

Properties

Private connected

connected: boolean = false

listeners

listeners: object

Type declaration

Private preifx

preifx: string

Private publishedMessages

publishedMessages: Message[] = []

Private stackSize

stackSize: number

Private storage

storage: Storage = localStorage

Methods

Private cleanUp

  • cleanUp(): void

Private connect

  • connect(): void

disconnect

  • disconnect(): void

handleEvent

  • handleEvent(event: Event): void

handshake

  • handshake(): void

Private isExternalMessage

  • isExternalMessage(message: Message): boolean

off

  • off(type?: string): void

on

Private onStorageMessage

  • onStorageMessage(__namedParameters: object): void
  • Parameters

    • __namedParameters: object
      • key: string
      • newValue: string

    Returns void

publish

trigger

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc