Expands the element and sets its collapsed
property to false
.
The expand()
function returns a Promise that is resolved when the
element's collapsed
property has been set to false
.
To learn about the behavior of an expanded element,
see the collapsed
property.