Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "observer/array"

Helper functionality for array observables.

Index

Variables

Functions

Variables

Const arrayMethods

arrayMethods: Array = Object.create(Array.prototype)

A copy of the array prototype.

This copy's mutator methods will get patched to enable notification of changes to an array.

Functions

observeArrayItems

  • observeArrayItems(array: any[], start: number, stop: number): void
  • Iterate over an array from a start index to a stop index and make those items observable.

    Parameters

    • array: any[]

      Array with items to be made reactive.

    • start: number

      Index to start from.

    • stop: number

      Index to stop at. For example "stop = 9" will stop at index 8.

    Returns void

Generated using TypeDoc