Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/angular/components
/ setDocumentDirection
Function
setDocumentDirection
src/cdk/menu/menu-trigger.spec.ts:111–111 ·
view source on GitHub ↗
(dir: 'ltr' | 'rtl')
Source
from the content-addressed store, hash-verified
109
};
110
111
const
setDocumentDirection = (dir:
'ltr'
|
'rtl'
) => (document.dir = dir);
112
113
beforeEach(() => {
114
fixture = TestBed.createComponent(MenuBarWithNestedSubMenus);
Callers
1
menu-trigger.spec.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected