Get the center of the current element. This is a relatively expensive operation as it uses .getBoundingClientRect() so this should not be called excessively.
.getBoundingClientRect()
@augment-vir/web
Get the center of the current element. This is a relatively expensive operation as it uses
.getBoundingClientRect()
so this should not be called excessively.