Options
All
  • Public
  • Public/Protected
  • All
Menu

This is the entry point to the Application component

In the browser globals context, this is accessible via MapGuide.Application

Hierarchy

  • ApplicationViewModel

Index

Properties

Protected _store

_store: any

Methods

dispatch

  • Dispatches the given action

    memberof

    ApplicationViewModel

    remarks

    Usage outside of the react component context should be used sparingly. In particular you should avoid trying to call this method multiple times in succession. You should call this method once in response to a DOM element event (eg. A button click)

    alpha

    Parameters

    Returns void

getCommand

  • getCommand(commandName: string): ICommand | undefined
  • Gets the command registered by the specific name

    memberof

    ApplicationViewModel

    Parameters

    • commandName: string

    Returns ICommand | undefined

Protected getExtraInitialState

  • getExtraInitialState(): any
  • Returns any extra initial state to include as part of initializing the redux store

    Overridable by sub-classes that want to include extra initial state

    virtual
    memberof

    ApplicationViewModel

    Returns any

Protected getExtraReducers

  • getExtraReducers(): any
  • Returns any extra reducers to include as part of initializing the redux store

    Overridable by sub-classes that want to include custom reducers

    virtual
    memberof

    ApplicationViewModel

    Returns any

getState

  • Returns the current application state. This state is read-only and should not be modified.

    memberof

    ApplicationViewModel

    Returns Readonly<IApplicationState>

mount

  • Mounts the map viewer application at the specified DOM element with the given component props.

    For the viewer templates already provided, this method is already called for you in the template's HTML. If you are creating your own viewer template, be sure to call this method must on the template's HTML.

    memberof

    ApplicationViewModel

    Parameters

    Returns void

Generated using TypeDoc