---
title: mount
description: >-
  Browser resource entry, which Svartz calls after every navigation: attach to
  the note body marked with `data-svartz-note="<slug>"`, keyed by that slug. On
  a host page that is the `SvartzNoteContent` body the mount is for, so each of
  several notes gets its own; on a theme page, the document's. A page without
  one gets nothing.
updated_at: '2026-11-19T21:19:47+01:00'
created_at: '2026-11-11T18:31:18+01:00'
symbol:
  kind: function
  name: mount
  signatures:
    - >-
      mount(_pathname: string, options:
      [[reference/api/plugin-annotations/browser/MountOptions|MountOptions]],
      options?:
      [[reference/api/core/BrowserScriptContext|BrowserScriptContext]]): (() =>
      void) | undefined
  parameters:
    - name: _pathname
      type: string
    - name: options
      type: '[[reference/api/plugin-annotations/browser/MountOptions|MountOptions]]'
    - name: options
      type: '[[reference/api/core/BrowserScriptContext|BrowserScriptContext]]'
      optional: true
  returns:
    type: (() => void) | undefined
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugin-annotations/src/browser.ts#L955
---

# mount
