OptionaldirectionThe side of the target's tab group to open on, in reading order: right is the reading-end
side, which is the left in a right-to-left UI
OptionaltargetIf undefined (or not in this window), the panel is placed relative to the tab most recently
opened as a 'tab' or re-opened in this window, else the first tab in it.
Information about a panel: a tab opened beside the tab group holding
targetTabId. When notargetTabIdis given (or it is not in this window), the tab opens beside the tab group of the tab most recently opened as a'tab'or re-opened in this window, else of the first tab in it.When the target's tab group is docked, the tab is added, as its active tab, to the tab group directly on the
directionside instead of a new group being created, if that group can take it: it sits beside the target's group (a group touching it only at a corner does not count), has at least one tab, holds the same kind of tab, is not one of Simple mode's fixed columns, and is at least as wide (as tall fortopandbottom) as a new group beside the target would be. Otherwise the tab opens as a new group beside the target's group.When the target's tab group is floating or maximized, the tab opens as a new group at the reading-end edge of the dock area (the right, or the left in a right-to-left UI), whichever
directionwas asked for, and a floating target that would cover that group is moved aside.leftandrightare mirrored in a right-to-left UI. A target in another application window is placed by these same rules in the window that holds it.