Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @harpsealjs/microfe

Index

References

ChildContext

Re-exports ChildContext

MicrofeAPI

Re-exports MicrofeAPI

Plugin

Re-exports Plugin

Type aliases

Chainable

Chainable: { chain: (...args: any[]) => Chainable }

Type declaration

Variables

Const GLOBAL_PATH

GLOBAL_PATH: string = "__MICRO_FRONT_END_INSTANCE__"

Const PLUGINS

PLUGINS: Plugin[] = [TimerPlugin, ListenerPlugin, HeadPlugin]

Functions

getChildContext

  • getChildContext(globalSpace?: string): any
  • Get render context of child application

    export

    Parameters

    • Default value globalSpace: string = GLOBAL_PATH

      Global space of host application

    Returns any

pushState

  • pushState(pathname: string, globalSpace?: string): any
  • Redirect like history.pushState

    export

    Parameters

    • pathname: string

      Target path

    • Default value globalSpace: string = GLOBAL_PATH

      Global space of host application

    Returns any

replaceState

  • replaceState(pathname: string, globalSpace?: string): any
  • Redirect like history.replaceState

    export

    Parameters

    • pathname: string

      Target path

    • Default value globalSpace: string = GLOBAL_PATH

      Global space of host application

    Returns any

Generated using TypeDoc