Enable / Disable UI elements

@dave thanks.

But according to this thread:

I was convinced that PlayCanvas UI are DOM Elements, however if that’s not the case,
what’s the proper way of enabling and disabling UI elements?

For example in unity, one of the methods is gameObject.SetActive(true)

thanks in advance