Browse documentation

onRemove

Runs after the component subtree detaches from the rendered tree.

Table of contents

Category

Value

Import

js
import { onRemove } from "valyrian.js";

Public signature

ts
(callback: Function): void

Parameters

ts
callback: Function

Result

ts
void

Errors

Throws when called outside component execution.