A function that returns the currently active element.
Currently active element: No active element found
<script lang="ts"> import { useActiveElement } from "runed"; const activeElement = useActiveElement(); </script> <p> Currently active element: {activeElement.value?.localName ?? 'No active element found'} </p>