Components Interactions Examples Tutorials API FAQ
Options
Menu

Class Dataset

Hierarchy

  • Dataset

Index

Constructors

constructor

  • new Dataset(data?: any[], metadata?: any): Dataset
  • A Dataset contains an array of data and some metadata. Changes to the data or metadata will cause anything subscribed to the Dataset to update.

    constructor

    Parameters

    • Optional data: any[]
    • Optional metadata: any

    Returns Dataset

Properties

Private _callbacks

_callbacks: any

Private _data

_data: any

Private _metadata

_metadata: any

Methods

data

  • data(): any[]
  • data(data: any[])

metadata

  • metadata(): any
  • metadata(metadata: any)

offUpdate

onUpdate

Generated using TypeDoc