MCPcopy Create free account
hub / github.com/UI5/webcomponents / getDomRefInStrip

Method getDomRefInStrip

packages/main/src/Tab.ts:306–308  ·  view source on GitHub ↗

* Returns the DOM reference of the tab that is placed in the header. * * **Note:** Tabs, placed in the `items` slot of other tabs are not shown in the header. Calling this method on such tabs will return `undefined`. * * **Note:** If you need a DOM ref to the tab content please use the `getD

()

Source from the content-addressed store, hash-verified

304 * @since 1.0.0-rc.16
305 */
306 getDomRefInStrip(): HTMLElement | undefined {
307 return this._getElementInStrip?.();
308 }
309
310 getFocusDomRef() {
311 let focusedDomRef = this._getElementInOverflow?.();

Callers 14

forcedTabIndexMethod · 0.95
_moveHeaderItemMethod · 0.45
_setItemsForStripMethod · 0.45
_updateEndOverflowMethod · 0.45
_getFocusableRefsMethod · 0.45
_getPopoverItemsForMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected