Skip to content

BlockSuite API Documentation / @blocksuite/blocks / showImportModal

Function: showImportModal()

showImportModal(__namedParameters): ImportDoc

Parameters

__namedParameters

__namedParameters.abortController?: AbortController= undefined

__namedParameters.collection: DocCollection

__namedParameters.container?: HTMLElement= document.body

__namedParameters.multiple?: boolean

__namedParameters.onFail?: OnFailHandler

__namedParameters.onSuccess?: OnSuccessHandler

Returns

ImportDoc

Source

packages/blocks/src/root-block/widgets/linked-doc/import-doc/index.ts:11