Skip to content

BlockSuite API Documentation / @blocksuite/blocks / popTagSelect

Function: popTagSelect()

popTagSelect(target, ops): () => void

Parameters

target: HTMLElement

ops

ops.minWidth?: number

ops.mode?: "multi" | "single"

ops.onChange

ops.onComplete?

ops.onOptionsChange

ops.options: SelectTag[]

ops.value: string[]

Returns

Function

Returns

void

Source

packages/blocks/src/database-block/data-view/utils/tags/multi-tag-select.ts:460