Skip to content

PublishPluginInstance.openModal method

PublishPluginInstance › openModal

Unofficial

Open the Publish changes dialog, creating it on first use.

Signature:

openModal(getSection?: (modal: PublishModal) => unknown): void

Parameters:

ParameterTypeDescription
getSection?(modal: PublishModal) => unknownPicks the dialog step to open instead of the review step.

Returns: void