Trevixal API
Preparing search index...
@trevixal/extension-export
DocumentImporter
Interface DocumentImporter
The mirror of
DocumentExporter
for reading a picked file back in.
interface
DocumentImporter
{
extensions
:
readonly
string
[]
;
label
:
string
;
name
:
string
;
parse
(
file
:
File
,
context
:
ImportContext
)
:
Promise
<
EditorNode
>
;
}
Index
Properties
extensions
label
name
Methods
parse
Properties
Readonly
extensions
extensions
:
readonly
string
[]
Readonly
label
label
:
string
Readonly
name
name
:
string
Methods
parse
parse
(
file
:
File
,
context
:
ImportContext
)
:
Promise
<
EditorNode
>
Parameters
file
:
File
context
:
ImportContext
Returns
Promise
<
EditorNode
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
extensions
label
name
Methods
parse
Trevixal API
Loading...
The mirror of DocumentExporter for reading a picked file back in.