Options
All
  • Public
  • Public/Protected
  • All
Menu

A property value that is a list of (model) elements. Will detect when children are moved, added, deleted and sends the appropriate deltas.

Type parameters

Hierarchy

Index

Constructors

  • parent is the structure that the value of this property attaches to, so e.g. for all values item of Part(List)Property we (should) have the invariant: item.container === this.parent.

    initialValue is default value except parts and GUID-typed primitives. (by-id/name references do not have default values.)

    Type parameters

    Parameters

    Returns PartListProperty<T>

Properties

_skipOnChange: boolean = false
internal
declaredOn: IStructureClass
disposer: undefined | (() => void)
isAvailable: boolean = false
isPublic: boolean = false
isRequired: boolean = false
name: string
observableValue: IList<T>

Accessors

  • get versionInfo(): PropertyVersionInfo
  • Returns PropertyVersionInfo

Methods

  • assertReadable(): void
  • assertWritable(): void
  • detachChild(child: T): void
  • Parameters

    • child: T

    Returns void

  • dispose(): void
  • initialize(initialItems: T[]): { disposer: Lambda; observableValue: IObservableArray<T> }
  • internal

    Parameters

    • initialItems: T[]

    Returns { disposer: Lambda; observableValue: IObservableArray<T> }

    • disposer: Lambda
    • observableValue: IObservableArray<T>
  • removeChild(child: T): boolean
  • Parameters

    • child: T

    Returns boolean

  • reportAvailabilityIssues(): void
  • shouldHandleChange(): boolean

Generated using TypeDoc