Type Parameters

Hierarchy (View Summary)

Implements

Constructors

Properties

_attached: boolean = true
_clone: T
_ctx: T
_inners: Map<keyof T, ReactiveScope<any>>
_keys?: (keyof T)[]
_marked: { [key: string | number | symbol]: [any, any] } = {}
_name?: PropertyKey
_observer: ValueChangeObserver<T> = ...
_parent?: ReactiveScope<any>

Methods

  • used when want to update ui-view like, you want to replace an array with another without reflect changes on view until reattached again.

    Returns void

  • apply changes now, will not effect the state of the detector wither if attached ot not.

    if a propertyKey is provided, will emit this property only

    Parameters

    • OptionalpropertyKey: keyof T
    • OptionalpropertyValue: any

    Returns void

  • 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 undefined | S

  • 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

    • key: keyof T

    Returns undefined | S

  • Type Parameters

    • V extends Record<PropertyKey, any>

    Parameters

    • ...objs: V[]

    Returns (keyof V)[]

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

    Parameters

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

    Returns boolean