Preparing search index...
The search index is not available
@youwol/fv-code-mirror-editors
@youwol/fv-code-mirror-editors
Common
IdeState
Class IdeState
Hierarchy
IdeState
Index
Constructors
constructor
Properties
fs
Map$
updates$
Methods
add
File
move
File
remove
File
update
Constructors
constructor
new
Ide
State
(
params
:
{
defaultFileSystem
:
Promise
<
Map
<
string
,
string
>
>
;
files
:
SourceCode
[]
}
)
:
IdeState
Parameters
params:
{
defaultFileSystem
:
Promise
<
Map
<
string
,
string
>
>
;
files
:
SourceCode
[]
}
default
File
System
:
Promise
<
Map
<
string
,
string
>
>
files
:
SourceCode
[]
Returns
IdeState
Properties
Readonly
fs
Map$
fs
Map$
:
BehaviorSubject
<
Map
<
string
,
string
>
>
= ...
Readonly
updates$
updates$
:
{
[k:
string
]
:
BehaviorSubject
<
{
content
:
SourceContent
;
path
:
SourcePath
;
updateOrigin
:
UpdateOrigin
}
>
}
Type declaration
[
k:
string
]:
BehaviorSubject
<
{
content
:
SourceContent
;
path
:
SourcePath
;
updateOrigin
:
UpdateOrigin
}
>
Methods
add
File
add
File
(
source
:
SourceCode
)
:
void
Parameters
source:
SourceCode
Returns
void
move
File
move
File
(
oldPath
:
string
, newPath
:
string
)
:
void
Parameters
oldPath:
string
newPath:
string
Returns
void
remove
File
remove
File
(
path
:
string
)
:
void
Parameters
path:
string
Returns
void
update
update
(
__namedParameters
:
{
content
:
string
;
path
:
string
;
updateOrigin
:
UpdateOrigin
}
)
:
void
Parameters
__namedParameters:
{
content
:
string
;
path
:
string
;
updateOrigin
:
UpdateOrigin
}
content
:
string
path
:
string
update
Origin
:
UpdateOrigin
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@youwol/fv-
code-
mirror-
editors
Common
Ide
State
constructor
fs
Map$
updates$
add
File
move
File
remove
File
update
Generated using
TypeDoc