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

Method allItems

packages/main/src/TabContainer.ts:889–891  ·  view source on GitHub ↗

* Returns all slotted tabs and their subTabs in a flattened array. * The order of tabs is depth-first. * * @public * @default []

()

Source from the content-addressed store, hash-verified

887 * @default []
888 */
889 get allItems() : Array<ITab> {
890 return this._flatten(this.items);
891 }
892
893 _flatten(items: Array<ITab>) {
894 const result: Array<ITab> = [];

Callers

nothing calls this directly

Calls 1

_flattenMethod · 0.95

Tested by

no test coverage detected