openmrs-esm-core

O3 Framework / detach

Function: detach()

detach(extensionSlotName, extensionId): void

Defined in: packages/framework/esm-extensions/src/extensions.ts:260

Detaches an extension from an extension slot.

Parameters

extensionSlotName

string

The name of the extension slot to detach from.

extensionId

string

The ID of the extension to detach.

Returns

void

Deprecated

Avoid using this. Extension attachments should be considered declarative.