<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [ScrollVisibilityObserver](./x-components.scrollvisibilityobserver.md)

## ScrollVisibilityObserver interface

Methods to initialise and cease visibility observing.

**Signature:**

```typescript
export interface ScrollVisibilityObserver 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [observe](./x-components.scrollvisibilityobserver.observe.md) |  | (element: HTMLElement) =&gt; void | Starts observing the provided element. |
|  [unobserve](./x-components.scrollvisibilityobserver.unobserve.md) |  | (element: HTMLElement) =&gt; void | Stops observing the provided element. |

