API reference: @salmonui/dropdowns/mention
MentionDataSourcetype
import type { MentionDataSource } from '@salmonui/dropdowns/mention';type MentionDataSource<T> = Pick<DataSource<T>, 'read'>;
Remote suggestions: any @salmonui/data source (or another object with the
structural read() of the Data Grid data source contract). The search
text is sent as query.search, the result window as range.
| Name | Signature | Description |
|---|---|---|
readinherited | read: (request: DataSourceRequest) => DataSourceResult<T> | Promise<DataSourceResult<T>>; |