a hash id with or without leading "#" or the HTMLElement to scroll to
an optional offset in pixel
focuses the target element when scrolling finished
sets the hash in the url of the browser when scrolling finished
creates a new browser history entry instead of replacing the current with the new hash tag
Generated using TypeDoc
import { windowJumpToHash } from '@src/hylo-components/utils/usefull/usefull';
Moves the window vertically to an element with the given hash as id.
Doesn't do anything if hash is empty or just "#".