Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "app/index.d"

Index

References

Application

Renames and re-exports App

Router

Renames and exports R

Socket

Renames and exports S

Storage

Renames and exports ST

Type aliases

ApplicationEventMap

ApplicationEventMap: { locale.set: string; pagerender: Page; popstate: any; refresh: undefined; start: undefined }

Type declaration

  • locale.set: string
  • pagerender: Page
  • popstate: any
  • refresh: undefined
  • start: undefined

EventMap

EventMap: {}

Type declaration

  • [key: string]: any

SocketEventMap

SocketEventMap: { connected: undefined; connecting: undefined; disconnected: undefined; event-error: { error: any; event: string } }

Type declaration

  • connected: undefined
  • connecting: undefined
  • disconnected: undefined
  • event-error: { error: any; event: string }
    • error: any
    • event: string

SocketState

SocketState: "none" | "connected" | "connecting" | "disconnected"

Socket states.

Variables

Const App

Instance of the current application.

Const R

Instance of the current router.

Const S

Instance of the client socket.

Const ST

Instance of the client storage.

Generated using TypeDoc