BlockSuite API Documentation / @blocksuite/blocks / showImportModal
Function: showImportModal()
showImportModal(
__namedParameters
):ImportDoc
Parameters
• __namedParameters
• __namedParameters.abortController?: AbortController
= ...
• __namedParameters.collection: DocCollection
• __namedParameters.container?: HTMLElement
= document.body
• __namedParameters.multiple?: boolean
• __namedParameters.onFail?: OnFailHandler
• __namedParameters.onSuccess?: OnSuccessHandler
Returns
ImportDoc
Defined in
packages/blocks/src/root-block/widgets/linked-doc/import-doc/index.ts:11