Skip to content

detach

Removes this node from its parent; does nothing when it has none.

Import:

import 'obsidian-test-mocks/setup';

Signature:

function detach(this: Node): void

Parameters:

Parameter Type Description
this Node

Returns: void