Type alias WidgetHeaderItemPosition
WidgetHeaderItemPosition: {
type:"auto"; } | {target:WidgetHeaderTarget|string;type:"before"; } | {target:WidgetHeaderTarget|string;type:"after"; } | {type:"first"; } | {type:"last"; }
Position of a custom widget header item relative to the other items.
auto(default) — placed at the start of the trailing group, right after the trailing spacer.before/after— placed immediately before/after the item with the giventargetid. Pass a WidgetHeaderTargets constant to anchor to a built-in item (works even when that built-in is currently hidden), or any custom item id to anchor to another injected item.first/last— placed at the very start/end of the header.