MCPcopy Create free account
hub / github.com/angular/components / createTabElement

Function createTabElement

src/aria/private/tabs/tabs.spec.ts:41–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39const enter = (mods?: ModifierKeys) => createKeyboardEvent('keydown', 13, 'Enter', mods);
40
41function createTabElement(): HTMLElement {
42 const element = document.createElement('div');
43 element.role = 'tab';
44 return element;
45}
46
47describe('Tabs Pattern', () => {
48 let tabListInputs: TestTabListInputs;

Callers 1

tabs.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected