Class AppItem

An item is a piece of information that can have an action associated with it.

Each time a user types something in the search bar, Rokii will search for items and display them in the search results.

Some items are interactive and can be clicked or selected by the user. When an item is selected they can

Hierarchy (view full)

Constructors

Properties

appName: string
autocomplete: string
group?: string

The group of the result. It's used to group the results in the results list component. This only applies to results displayed in an extension app window. If not provided, the result will be displayed on the top of the list.

icon?: string
id: string

An unique identifier for the result in your extension scope (other extensions can have the same id) Used to update or remove the action from the store If not provided, the title will be used.

keepTerm: boolean
keyword: string[] = []
order?: number

The order of the result. It's used to order the results in the results list

subtitle: string
title: string

The title of the result Must be unique if you don't provide an id

type: APP = ItemTypes.APP