@witchcraft/layout
Github
Issues
npm
Preparing search index...
layout/layoutCreate
layoutCreate
Function layoutCreate
layoutCreate
(
opts
?:
{
activeWindow
?:
string
;
windows
?:
Record
<
string
,
{
activeFrame
?:
string
;
frames
:
Record
<
string
,
{
height
:
number
;
id
:
string
;
width
:
number
;
x
:
number
;
y
:
number
;
[
key
:
string
]:
unknown
;
}
,
>
;
id
:
string
;
pxHeight
:
number
;
pxWidth
:
number
;
pxX
:
number
;
pxY
:
number
;
}
,
>
;
[
key
:
string
]:
unknown
;
}
,
)
:
{
activeWindow
?:
string
;
windows
:
LayoutWindows
}
Parameters
opts
:
{
activeWindow
?:
string
;
windows
?:
Record
<
string
,
{
activeFrame
?:
string
;
frames
:
Record
<
string
,
{
height
:
number
;
id
:
string
;
width
:
number
;
x
:
number
;
y
:
number
;
[
key
:
string
]:
unknown
;
}
,
>
;
id
:
string
;
pxHeight
:
number
;
pxWidth
:
number
;
pxX
:
number
;
pxY
:
number
;
}
,
>
;
[
key
:
string
]:
unknown
;
}
= {}
Returns
{
activeWindow
?:
string
;
windows
:
LayoutWindows
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Github
Issues
npm
@witchcraft/layout
Loading...