useDocumentHead()
Use the useDocumentHead() function to retrieve the document head metadata.
useDocumentHead() retrieves a DocumentHead object that will allow you to:
- update the
titlein<head>. - update the
metatags in<head>. - update the
linktags in<head>. - update the
styletags in<head>.
The useDocumentHead() function can be used within a Qwik component, such as <Head>, to create the inner elements within document.head.