> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/setfontweight.md).

# setFontWeight

Sets the font weight of a control.

### Parameters

1. ControlId
2. FontWeight - one of those: "normal", "bold"

### Example Usages

*Set to bold*

```javascript
   brixxApi.setFontWeight("myControl", "bold");
```

*Set to normal*

```javascript
   brixxApi.setFontWeight("myControl", "normal");
   brixxApi.setFontWeight("myControl"); //you can skip param2 if you want to set it back to normal
```
