Document arguments passed to `placement` function of tooltip/popover

Closes #14255