@witchcraft/layout
Github
Issues
npm
Preparing search index...
helpers/toWindowCoord
toWindowCoord
Function toWindowCoord
toWindowCoord
(
win
:
BaseLayoutWindow
,
e
:
Pick
<
PointerEvent
,
"clientX"
|
"clientY"
>
,
snapAmount
?:
{
x
:
number
;
y
:
number
}
,
)
:
{
x
:
number
;
y
:
number
}
Parameters
win
:
BaseLayoutWindow
e
:
Pick
<
PointerEvent
,
"clientX"
|
"clientY"
>
snapAmount
:
{
x
:
number
;
y
:
number
}
= ...
Returns
{
x
:
number
;
y
:
number
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Github
Issues
npm
@witchcraft/layout
Loading...