A backend context that has been associated to an environment

Methods

  • Create a root component in specified backend

    The component is searched in the codeSpace with url . If url contains "?" params, it will be parsed and try to set to component properties.

    Parameters

    • tagName: string
    • codeSpace: CodeSpace
    • url: string
    • Optional genericTargets: {
          [key: string]: string;
      }
      • [key: string]: string

    Returns Root

  • Register a style sheet resource

    Some backend cannot load style sheet URL. In this cases, the content should be registered here.

    Parameters

    • url: string
    • content: any

    Returns void