Position
auto (the default) picks whichever side has room, preferring top, then bottom, then right, then left. An explicit side still flips to its opposite when it has no room but the opposite does, so a tooltip near the viewport edge stays readable rather than clipped. The bubble also caps its width against the viewport.
@for (position of positions; track position) {
<gog-button variant="outline" [gogTooltip]="'Placed ' + position" [gogTooltipPosition]="position">
{{ position }}
</gog-button>
}