Skip to content

BasesPluginInstance.createAndOpenBase method

BasesPluginInstance › createAndOpenBase

Unofficial

Creates a new base next to the active file and opens it for renaming.

Signature:

createAndOpenBase(evt?: UserEvent | undefined): Promise<void>

Parameters:

ParameterTypeDescription
evt?UserEvent | undefinedThe event that triggered the creation. Falls back to the app's last event when omitted.

Returns: Promise<void> — A promise that resolves when the base is created and opened.