Ibyar/Aurora
    Preparing search index...

    Class ReactiveSignalScope<T>

    Type Parameters

    Hierarchy (View Summary)

    Index
    • Type Parameters

      Parameters

      • context: T
      • OptionalpropertyKeys: (keyof T)[]
      • Optional_name: PropertyKey
      • Optional_parent: ReactiveScope<any>

      Returns ReactiveSignalScope<T>

    _clone: T
    _ctx: T
    _inners: Map<keyof T, ReactiveScope<any>>
    _keys?: (keyof T)[]
    _name?: PropertyKey
    _parent?: ReactiveScope<any>
    • delete property from context

      Parameters

      • propertyKey: keyof T

      Returns boolean

    • Returns void

    • Parameters

      • propertyKey: keyof T
      • newValue: any
      • OptionaloldValue: any

      Returns void

    • get current context object of this scope

      Returns T

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

      Returns T

    • 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

      • propertyKey: keyof T

        the name of the property

      Returns S | undefined

    • Type Parameters

      • V extends Record<PropertyKey, any>

      Parameters

      • ...objs: V[]

      Returns (keyof V)[]

    • is current context has propertyKey in hash map keys

      Parameters

      • propertyKey: keyof T

      Returns boolean

    • Parameters

      • propertyKey: keyof T
      • newValue: any
      • Optionalreceiver: any

      Returns boolean

    • create a scope with the same type of this scope

      Type Parameters

      Parameters

      • propertyKey: keyof T

      Returns S

    • sc

      Type Parameters

      Parameters

      • propertyKey: keyof T
      • Optionalscope: S

      Returns S

    • Type Parameters

      Parameters

      • ctx: T
      • alias: string

      Returns ReadOnlyScope<{ this: T; [key: string]: T }>