DuckChatInputModeState
interface DuckChatInputModeState
The input mode currently displayed by the Duck.ai input widget.
Emits InputMode.SEARCH when no widget is showing, and the user's currently-selected tab while a widget is attached. Consumers can use this to drive ambient UI such as the NTP background logo.
Properties
Link copied to clipboard
The input mode currently being expressed to ambient UI.
Link copied to clipboard
The live input query — the trimmed text in the shared input field, updated per keystroke regardless of the selected tab (the field is shared between Search and Chat, so the query is the same on both).