Angular

A standalone component, built on the same framework-free renderer as Vue and Elements.

Install

bash
npm install @datastripes/dashboard @angular/core @angular/common

Basic usage

ts
import { Component } from '@angular/core';
import { DatastripesDashboardComponent } from '@datastripes/dashboard/angular';
import type { DashboardConfig } from '@datastripes/dashboard';

@Component({
  standalone: true,
  imports: [DatastripesDashboardComponent],
  template: `
    <datastripes-dashboard
      [data]="rows"
      [config]="config"
      mode="edit"
      [apiKey]="apiKey"
      (changeConfig)="config = $event"
      (save)="persist($event)"
    />
  `
})
export class DashboardPageComponent {
  rows = myRows;
  config?: DashboardConfig;
  apiKey = '...';

  persist(saved: DashboardConfig) {
    // ...
  }
}

Inputs & outputs

NameKindNotes
data@InputRow array
config@InputOptional DashboardConfig
mode@Input'view' | 'edit'
apiKey@InputChecked on mount via checkLicense()
changeConfig@OutputEmits the updated DashboardConfig on every mutation
save@OutputEmits via the component's triggerSave() method

Like Vue, the Angular component currently has no built-in toolbar/wizard/settings UI — that's React-only today. Drive DashboardStore directly from your own template if you need those controls; see DashboardStore.