Documentation
Preparing search index...
@kehto/wm
WmService
Interface WmService
interface
WmService
{
state
:
{
get
()
:
{
activeWorkspace
:
WorkspaceId
;
focusedWindowId
:
string
|
null
}
;
}
;
window
:
{
close
(
id
:
string
)
:
void
;
create
(
opts
:
{
class
:
string
;
iframeSrc
?:
string
;
title
:
string
}
,
)
:
string
|
null
;
focus
(
id
:
string
)
:
void
;
move
(
id
:
string
,
toWorkspace
:
WorkspaceId
)
:
void
;
}
;
workspace
:
{
list
()
:
{
id
:
WorkspaceId
;
windowCount
:
number
}
[]
;
switch
(
id
:
WorkspaceId
)
:
void
;
}
;
destroy
()
:
void
;
}
Index
Properties
state
window
workspace
Methods
destroy
Properties
state
state
:
{
get
()
:
{
activeWorkspace
:
WorkspaceId
;
focusedWindowId
:
string
|
null
}
;
}
window
window
:
{
close
(
id
:
string
)
:
void
;
create
(
opts
:
{
class
:
string
;
iframeSrc
?:
string
;
title
:
string
}
,
)
:
string
|
null
;
focus
(
id
:
string
)
:
void
;
move
(
id
:
string
,
toWorkspace
:
WorkspaceId
)
:
void
;
}
workspace
workspace
:
{
list
()
:
{
id
:
WorkspaceId
;
windowCount
:
number
}
[]
;
switch
(
id
:
WorkspaceId
)
:
void
;
}
Methods
destroy
destroy
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
state
window
workspace
Methods
destroy
Documentation
Loading...