ref property

Reference callback.

Rad will call the ref callback with the DOM element before widget renders, and call it with null before it unmounts.

Please note, similar to other event listeners, callback has to be present on the initial render.

Implementation

final NullableElementCallback? ref;