labelEnvironment

A toy label environment that exercises the whole environment contract through public SDK surfaces only.

@internote/canvas-sdk/testingConstant
On this page
import { labelEnvironment } from '@internote/canvas-sdk/testing';

It is the reference for how an environment is authored end to end:

  • vocabulary validated by the compiler (caption, with cue anchors);
  • !cue.to keyframes on emphasis (number) and window (interval);
  • a verb handler and step hook driving session state;
  • a declarative toolbar contribution;
  • session-tier storage that survives scroll-away and continue:.

Deliberately trivial on the render side (its surface draws nothing) — the point is the contract, not the pixels. Exported from @internote/canvas-sdk/testing; not registered anywhere by default.

#Signature

EnvironmentDefinition

Declared in packages/canvas-sdk/src/testing/label-environment.ts:47.

Last updated