tuil
ReferencePackages@mwillbanks/tuil-storyAPI

StoryAction

interface exported by @mwillbanks/tuil-story.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-story.

export interface StoryAction {
  readonly type: "render" | "args" | "controls" | "input" | "resize";
  readonly timestamp: number;
  readonly detail?: Readonly<Record<string, unknown>>;
}

Members

MemberTypeRequiredDescriptionRelated types
type"render" | "args" | "controls" | "input" | "resize"YesThe type member uses the "render" | "args" | "controls" | "input" | "resize" contract.
timestampnumberYesThe timestamp member uses the number contract.
detailReadonly<Record<string, unknown>> | undefinedNoThe detail member uses the Readonly<Record<string, unknown>> | undefined contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-story

On this page