Skip to content

BlockSuite API Documentation / @blocksuite/blocks / createLangList

Function: createLangList()

createLangList(__namedParameters): void

Parameters

__namedParameters

__namedParameters.abortController: AbortController

__namedParameters.currentLanguage: StrictLanguageInfo

__namedParameters.onSelectLanguage

__namedParameters.referenceElement: Element

Returns

void

Source

packages/blocks/src/code-block/components/lang-list.ts:267