mergeFooter

Merges the scene's footer contributions, given in environment order.

@internote/canvas-sdkFunction
On this page
import { mergeFooter } from '@internote/canvas-sdk';
  • Key: at most one row. Entries merge when their names match ignoring case and their colours match; the merged entry keeps the first contributor's spelling of the name and is lit if any contributor's is.
  • Scales: one row per distinct mapping, in the order first seen, with the first contributor's lead and the first reading that is not null.
  • Custom rows stay grouped by environment.
  • Bar items are never merged: two code environments report two carets.

#Signature

(sources: readonly FooterSource[]): ResolvedFooter

#Parameters

sources
Each environment's contribution, in environment order.

#Returns

The scene's footer, in drawing order.

Declared in packages/canvas-sdk/src/footer/merge.ts:140.

Last updated