Ibyar/Aurora
    Preparing search index...

    Class SignalScope

    Hierarchy (View Summary)

    Index
    • Returns SignalScope

    _clone: any[]
    _ctx: any[]
    _inners: Map<keyof any[], ReactiveScope<any>>
    _keys?: (keyof any[])[]
    _name?: PropertyKey
    _observer: ValueChangeObserver<any[]>
    _parent?: ReactiveScope<any>
    • Type Parameters

      • T

      Parameters

      • updateFn: () => T

      Returns Computed<T>

    • Type Parameters

      • T

      Parameters

      • updateFn: () => T

      Returns Lazy<T>

    • Type Parameters

      • T

      Parameters

      • OptionalinitValue: T

      Returns Signal<T>

    • delete property from context

      Parameters

      • propertyKey: keyof any[]

      Returns boolean

    • Returns void

    • Parameters

      • propertyKey: keyof any[]
      • newValue: any
      • OptionaloldValue: any

      Returns void

    • get value of propertyKey in current context

      Parameters

      • propertyKey: keyof any[]

      Returns any

    • get current context object of this scope

      Returns any[]

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

      Returns any[]

    • 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 any[]

        the name of the property

      Returns S | undefined

    • Returns number

    • 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 any[]

      Returns boolean

    • Parameters

      • index: number

      Returns void

    • Parameters

      • updateFn: () => void

      Returns { [k: string]: ScopeSubscription<any[]> }

    • Returns number[]

    • Returns void

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

      Parameters

      • propertyKey: keyof any[]
      • newValue: any
      • Optionalreceiver: any

      Returns boolean

    • create a scope with the same type of this scope

      Type Parameters

      Parameters

      • propertyKey: keyof any[]

      Returns S

    • sc

      Type Parameters

      Parameters

      • propertyKey: keyof any[]
      • Optionalscope: S

      Returns S

    • Returns void

    • Parameters

      Returns void

    • Returns void

    • 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
      • alias: string

      Returns ReadOnlyScope<{ this: T; [key: string]: 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 }>