☰
Debian Codegraph
@
1:1.43.9+dfsg-1
/
/
tests
/
phpunit
/
data
/
resourceloader
/
codex
/
modules
/
useComputedDirection.js
☽
☼
tests/phpunit/data/resourceloader/codex/modules/useComputedDirection.js
code
plain
raw
symbols
SCIP
GPL-2.0+
2001-2024, MediaWiki developers
debian/copyright
1
"use strict"
;
const
u=
require
(
"vue"
);
function
o
(n){
const
t=u.
ref
(
null
);
return
u.
onMounted
(()=>{
const
e=window.
getComputedStyle
(n.
value
).
direction
;t.
value
=e===
"ltr"
||e===
"rtl"
?e:
null
}),t}module.
exports
=o;