Mixins / foldkit-mixins-ui

ThinkingIndicatorView

interface · packages/mixins-ui/src/thinkingIndicator.ts:23

interface ThinkingIndicatorView<Message = never> {
  readonly label?: string | undefined
  readonly detail?: string | undefined
  readonly active?: boolean | undefined
  readonly icon?: Html | undefined
  readonly style?: NamedStyle<typeof ThinkingIndicatorSlots> | undefined
  readonly mixins?: MixinList<Message> | undefined
}

Members

ThinkingIndicatorView.label

property · packages/mixins-ui/src/thinkingIndicator.ts:25

readonly label?: string | undefined

The words; default Thinking.

ThinkingIndicatorView.detail

property · packages/mixins-ui/src/thinkingIndicator.ts:27

readonly detail?: string | undefined

What the assistant is doing, under the words: Searching the web.

ThinkingIndicatorView.active

property · packages/mixins-ui/src/thinkingIndicator.ts:32

readonly active?: boolean | undefined

Whether it is at work; default true. False draws the region empty, so keep it drawn with false where work is about to start.

ThinkingIndicatorView.icon

property · packages/mixins-ui/src/thinkingIndicator.ts:34

readonly icon?: Html | undefined

Drawn in the mark in place of the dots, carrying no meaning of its own.

ThinkingIndicatorView.style

property · packages/mixins-ui/src/thinkingIndicator.ts:36

readonly style?: NamedStyle<typeof ThinkingIndicatorSlots> | undefined

A style of ThinkingIndicatorSlots, for the look.

ThinkingIndicatorView.mixins

property · packages/mixins-ui/src/thinkingIndicator.ts:38

readonly mixins?: MixinList<Message> | undefined

Mixins beside the style.