remix/ui · VariableView Source
ref
Summary
Calls a callback when an element is inserted and aborts it when removed.
Signature
const ref: MixinFactory<
Element,
[callback: RefCallback<Element>],
ElementProps
>;
Calls a callback when an element is inserted and aborts it when removed.
const ref: MixinFactory<
Element,
[callback: RefCallback<Element>],
ElementProps
>;