---
jsApi: true
title: "[F] $useRef"

---
```ts
$useRef(
   context, 
   entity, 
   refUrl): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | `DecoratorContext` |
| `entity` | `Model` \| `ModelProperty` |
| `refUrl` | `string` |

## Returns

`void`
