Hierarchy (View Summary)

Constructors

  • Parameters

    • source: string
    • OptionalimportCallOptions: ImportCallOptions

    Returns WebModuleScope

Properties

_inners: Map<keyof ModuleContext, ReactiveScope<any>>
_keys?: (keyof ModuleContext)[]
_name?: PropertyKey
_parent?: ReactiveScope<any>

Methods

  • delete property from context

    Parameters

    Returns boolean

  • Returns void

  • Parameters

    • propertyKey: keyof ModuleContext
    • newValue: any
    • OptionaloldValue: any

    Returns void

  • get value of propertyKey in current context

    Parameters

    Returns any

  • get current context object of this scope

    Returns ModuleContext

  • get a proxy of the current context object if exists.

    Returns ModuleContext

  • get a scope for an object named as propertyKey from cache map,

    if the current value is not type od object, will return undefined.

    Type Parameters

    Parameters

    Returns undefined | S

  • Type Parameters

    • V extends Record<PropertyKey, any>

    Parameters

    • ...objs: V[]

    Returns (keyof V)[]

  • is current context has propertyKey in hash map keys

    Parameters

    Returns boolean

  • Parameters

    Returns void

  • Returns Promise<any>

  • set the value of propertyKey in current context, could be instilled with value.

    Parameters

    • propertyKey: keyof ModuleContext
    • newValue: any
    • Optionalreceiver: any

    Returns boolean

  • create a scope with the same type of this scope

    Type Parameters

    Parameters

    Returns S

  • sc

    Type Parameters

    Parameters

    Returns S

  • Parameters

    Returns void

  • Type Parameters

    Parameters

    • OptionalpropertyKeys: (keyof T)[]

    Returns ReactiveScope<T>

  • Type Parameters

    Parameters

    • context: T
    • OptionalpropertyKeys: (keyof T)[]

    Returns ReactiveScope<T>

  • Type Parameters

    Parameters

    • ctx: T
    • OptionalpropertyKeys: (keyof T)[]

    Returns ReadOnlyScope<{ this: T }>

  • Type Parameters

    Parameters

    • ctx: T
    • OptionalpropertyKeys: (keyof T)[]

    Returns Scope<{ this: T }>