# ElementOptions

Complete event, ref, and writable-property options for an element.

## Signatures

```ts
export type ElementOptions<Element extends globalThis.Element> = ElementEventHandlers<Element> & TemplateEventHandlers & ElementRef<Element> & ElementProperties<Element>;
```

## Why

Library authors can describe custom hosts directly in terms of the DOM API.

## Ownership and lifetime

Rendering owns subscriptions and listeners; callers retain ownership of
unrelated classes, attributes, children, and surrounding nodes.
