# TuilGhosttyMountOptions

Source: /tuil/docs/reference/packages/ghostty-web/api/tuil-ghostty-mount-options
Locale: en

interface exported by @mwillbanks/tuil-ghostty-web.



{/* Generated by tooling/docs/generate-reference.ts. */}

## interface [#interface]

Public interface exported by `@mwillbanks/tuil-ghostty-web`.

```ts
export interface TuilGhosttyMountOptions {
  readonly app: TuilRuntime;
  readonly element: HTMLElement;
  readonly terminal?: TuilGhosttyTerminalOptions;
  readonly accessibility?: TuilGhosttyAccessibilityOptions;
}
```

## Members [#members]

| Member          | Type                                                                                                      | Required | Description                                                                                                                                   | Related types                                                                                                                                                                                                  |
| --------------- | --------------------------------------------------------------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `app`           | `TuilRuntime<import("@mwillbanks/tuil-events").EventMap, import("@mwillbanks/tuil").TuilExtensionPoints>` | Yes      | The `app` member uses the `TuilRuntime<import("@mwillbanks/tuil-events").EventMap, import("@mwillbanks/tuil").TuilExtensionPoints>` contract. | [`EventMap`](/tuil/docs/reference/packages/events/api/event-map), [`TuilExtensionPoints`](/tuil/docs/reference/packages/tuil/api/tuil-extension-points), [`TuilRuntime`](/tuil/docs/reference/packages/tuil/api/tuil-runtime) |
| `element`       | `HTMLElement`                                                                                             | Yes      | The `element` member uses the `HTMLElement` contract.                                                                                         | —                                                                                                                                                                                                              |
| `terminal`      | `TuilGhosttyTerminalOptions \| undefined`                                                                 | No       | The `terminal` member uses the `TuilGhosttyTerminalOptions \| undefined` contract.                                                            | [`TuilGhosttyTerminalOptions`](/tuil/docs/reference/packages/ghostty-web/api/tuil-ghostty-terminal-options)                                                                                                         |
| `accessibility` | `TuilGhosttyAccessibilityOptions \| undefined`                                                            | No       | The `accessibility` member uses the `TuilGhosttyAccessibilityOptions \| undefined` contract.                                                  | [`TuilGhosttyAccessibilityOptions`](/tuil/docs/reference/packages/ghostty-web/api/tuil-ghostty-accessibility-options)                                                                                               |

## Parameters [#parameters]

This declaration has no public members.

## Returns [#returns]

This declaration does not return a value.

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

* [`TuilGhosttyAccessibilityOptions`](/tuil/docs/reference/packages/ghostty-web/api/tuil-ghostty-accessibility-options)
* [`TuilGhosttyTerminalOptions`](/tuil/docs/reference/packages/ghostty-web/api/tuil-ghostty-terminal-options)

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/ghostty-web/src/browser.tsx)

## Package [#package]

[@mwillbanks/tuil-ghostty-web](/tuil/docs/reference/packages/ghostty-web)
