function onLoadHelper(callback) {
    const value = htmx.on('htmx:load', /** @param {CustomEvent} evt */ function(evt) {
      callback(evt.detail.elt)
    })
    return value
  }
Adds a callback for the **htmx:load** event. This can be used to process new content, for example initializing the content with a javascript library

@see https://htmx.org/api/#onLoad

@param {(elt: Node) => void} callback the callback to call on newly loaded content
@returns {EventListener}