ThinkingStepsView.id
property · packages/mixins-ui/src/thinkingSteps.ts:80
readonly id: stringPrefixes every id the trace draws, unique on the page.
Mixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/thinkingSteps.ts:78
interface ThinkingStepsView<Message> {
readonly id: string
readonly steps: ReadonlyArray<ThinkingStep>
readonly open: Option.Option<boolean>
readonly onToggle: (open: boolean) => NoInfer<Message>
readonly duration?: number | undefined
readonly summary?: string | undefined
readonly openSteps?: ReadonlyArray<string> | undefined
readonly onToggleStep?: ((id: string) => NoInfer<Message>) | undefined
readonly stateWords?: StateWords | undefined
readonly style?: NamedStyle<typeof ThinkingStepsSlots> | undefined
readonly mixins?: MixinList<Message> | undefined
}ThinkingStepsView.idproperty · packages/mixins-ui/src/thinkingSteps.ts:80
readonly id: stringPrefixes every id the trace draws, unique on the page.
ThinkingStepsView.stepsproperty · packages/mixins-ui/src/thinkingSteps.ts:81
readonly steps: ReadonlyArray<ThinkingStep>ThinkingStepsView.openproperty · packages/mixins-ui/src/thinkingSteps.ts:83
readonly open: Option.Option<boolean>Open or shut, as the reader asked; none follows the work (shown).
ThinkingStepsView.onToggleproperty · packages/mixins-ui/src/thinkingSteps.ts:85
readonly onToggle: (open: boolean) => NoInfer<Message>Sent with the state a press on the trigger asks for.
ThinkingStepsView.durationproperty · packages/mixins-ui/src/thinkingSteps.ts:87
readonly duration?: number | undefinedHow long the whole took, in milliseconds; default the steps' durations summed.
ThinkingStepsView.summaryproperty · packages/mixins-ui/src/thinkingSteps.ts:89
readonly summary?: string | undefinedThe trigger's words in place of Thinking, the running title, or Thought for 4s.
ThinkingStepsView.openStepsproperty · packages/mixins-ui/src/thinkingSteps.ts:91
readonly openSteps?: ReadonlyArray<string> | undefinedThe ids of the steps whose detail is open, when onToggleStep is given.
ThinkingStepsView.onToggleStepproperty · packages/mixins-ui/src/thinkingSteps.ts:93
readonly onToggleStep?: ((id: string) => NoInfer<Message>) | undefinedMakes each step with detail a button that sends this with its id.
ThinkingStepsView.stateWordsproperty · packages/mixins-ui/src/thinkingSteps.ts:95
readonly stateWords?: StateWords | undefinedThe words for each state; default English.
ThinkingStepsView.styleproperty · packages/mixins-ui/src/thinkingSteps.ts:97
readonly style?: NamedStyle<typeof ThinkingStepsSlots> | undefinedA style of ThinkingStepsSlots, for the look.
ThinkingStepsView.mixinsproperty · packages/mixins-ui/src/thinkingSteps.ts:99
readonly mixins?: MixinList<Message> | undefinedMixins beside the style.