Skip to main content
Version: Next 🚧

Selection

A store that manages the selection state of articles.

Basic features​

update()​

Updates the state with the provided new state properties.

update(newState: Partial<SelectionState>): void
ParameterTypeDescription
newStatePartial<SelectionState>The partial state object containing properties to update.

updateQueryText()​

Updates the query text in the state.

updateQueryText(queryText: string): void
ParameterTypeDescription
queryTextstringThe new query text to set.

clear()​

Clears the state.

clear(): void