Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

appReady

appReady: boolean = false

This must be set explicitly as it can be used outside to detect if app is ready. This will not be set automatically by framework.

dispatcher

dispatcher: AtomDispatcher

parent

screen

screen: IScreen

Accessors

contextId

  • get contextId(): string

global

url

Methods

broadcast

  • broadcast(channel: string, data: any): void
  • Broadcast given data to channel, only within the current window.

    memberof

    AtomDevice

    Parameters

    • channel: string
    • data: any

    Returns void

callLater

  • callLater(f: function): void

createBusyIndicator

dispose

  • dispose(): void

get

getValue

Protected invokeReady

  • invokeReady(): void

main

  • main(): void

newScope

onError

  • onError(error: any): void

Protected onReady

  • onReady(f: function): void

put

  • put(key: any, value: any): void

resolve

runAsync

  • runAsync<T>(tf: function): void
  • This method will run any asynchronous method and it will display an error if it will fail asynchronously

    template

    T

    memberof

    AtomDevice

    Type parameters

    • T

    Parameters

    • tf: function
        • (): Promise<T>
        • Returns Promise<T>

    Returns void

subscribe

  • Subscribe for given channel with action that will be executed when anyone will broadcast (this only works within the current browser window)

    This method returns a disposable, when you call .dispose() it will unsubscribe for current subscription

    memberof

    AtomDevice

    Parameters

    Returns IDisposable

    Disposable that supports removal of subscription

syncUrl

  • syncUrl(): void

updateDefaultStyle

  • updateDefaultStyle(textContent: string): void

waitForPendingCalls

  • waitForPendingCalls(): Promise<any>

Generated using TypeDoc