# resolveReference Type documentation

## TypeScript declaration

### [resolveReference](<https://github.com/siemens/element/blob/main/projects/element-ng/common/helpers/positioning.helpers.ts#L55-L72>)

**Kind:** constant

```
import { resolveReference } from '@siemens/element-ng/common';
```

Deprecated: Use the CDK Overlay instead.

```
(hostElement: HTMLElement, reference: string) => HTMLElement | null = ...
```

```
resolveReference(hostElement: HTMLElement, reference: string): HTMLElement | null
```

Deprecated: Use the CDK Overlay instead.

#### Parameters

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [hostElement](<https://github.com/siemens/element/blob/main/projects/element-ng/common/helpers/positioning.helpers.ts#L56-L56>) | `HTMLElement` |  |  |
| [reference](<https://github.com/siemens/element/blob/main/projects/element-ng/common/helpers/positioning.helpers.ts#L57-L57>) | `string` |  |  |

**Returns:** [HTMLElement](<https://developer.mozilla.org/docs/Web/API/HTMLElement>)`  |  `[null](<https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/null>)
