Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
EpicEditor
Class EpicEditor
Index
Constructor methods
constructor
Methods
edit
emit
enterFullscreen
exitFullscreen
exportFile
getElement
getFiles
importFile
is
load
on
open
preview
reflow
remove
removeListener
rename
save
unload
Constructor methods
constructor
(
)
:
EpicEditor
Returns
EpicEditor
constructor
(
options
:
EpicEditorOptions
)
:
EpicEditor
Parameters
options:
EpicEditorOptions
Returns
EpicEditor
Methods
public
edit
(
)
public
emit
(
event
:
string
)
Parameters
event:
string
public
enterFullscreen
(
)
public
exitFullscreen
(
)
public
exportFile
(
filename
?:
string
, type
?:
string
)
:
any
Parameters
filename?:
string
optional
type?:
string
optional
Returns
any
public
getElement
(
element
:
string
)
:
any
Parameters
element:
string
Returns
any
public
getFiles
(
filename
?:
string
)
:
any
Parameters
filename?:
string
optional
Returns
any
public
importFile
(
filename
?:
string
, content
?:
string
)
Parameters
filename?:
string
optional
content?:
string
optional
public
is
(
state
:
string
)
:
boolean
Parameters
state:
string
Returns
boolean
public
load
(
callback
?:
Function
)
:
EpicEditor
Parameters
callback?:
Function
optional
Returns
EpicEditor
public
on
(
event
:
string
, handler
:
Function
)
Parameters
event:
string
handler:
Function
public
open
(
filename
:
string
)
:
any
Parameters
filename:
string
Returns
any
public
preview
(
)
public
reflow
(
type
?:
string
)
Parameters
type?:
string
optional
public
remove
(
filename
:
string
)
Parameters
filename:
string
public
removeListener
(
event
:
string
, handler
?:
Function
)
Parameters
event:
string
handler?:
Function
optional
public
rename
(
oldName
:
string
, newName
:
string
)
Parameters
oldName:
string
newName:
string
public
save
(
)
public
unload
(
callback
?:
Function
)
:
EpicEditor
Parameters
callback?:
Function
optional
Returns
EpicEditor
Globals