And given the comment above, this function will looks like:
```js
function toggleLoading(panel) {
  let { style } = panel;

  style.background = !style.background ? LOADING_BACKGROUND : "";
}
```
Or something like that.