# NUI `[Client]`

NUI is a module to handle NUI interfaces 

## JO Functions

### jo.nui.forceFocus()

Forces focus on a specific NUI interface and don't spread events to other NUIs <br>

#### Syntax

```lua
jo.nui.forceFocus(uiName)
```

#### Parameters

`uiName` : _string_
> The name of the NUI to focus on
>

---

### jo.nui.isHovering()

#### Syntax

```lua
jo.nui.isHovering(global)
```

---

### jo.nui.isLoaded()

A function to know if a nui is loaded <br>

#### Syntax

```lua
jo.nui.isLoaded(uiName)
```

#### Parameters

`uiName` : _string_
> The name of the NUI
>

#### Return Value

Type : _boolean_

> `true` if the nui is already loaded

---

### jo.nui.load()

Loads a NUI interface <br>

#### Syntax

```lua
jo.nui.load(uiName, url)
```

#### Parameters

`uiName` : _string_
> The name of the NUI to load
>

`url` : _string_
> The URL of the NUI to load
>

---

### jo.nui.resetFocus()

Resets the focus from any NUI interface and spread events <br>

#### Syntax

```lua
jo.nui.resetFocus()
```
