OmniDataEditor API
Preparing search index...
@omnidataeditor/core
PresentationContext
Interface PresentationContext<T>
interface
PresentationContext
<
T
>
{
capabilities
:
object
;
signal
?:
AbortSignal
;
dispatch
(
command
:
EditorCommand
)
:
CommandOutcome
;
getSnapshot
()
:
SessionSnapshot
<
T
>
;
submit
()
:
Promise
<
SubmitOutcome
<
T
>
>
;
subscribe
(
listener
:
SessionListener
<
T
>
)
:
Unsubscribe
;
validate
()
:
Promise
<
ValidationReport
>
;
}
Type Parameters
T
Hierarchy (
View Summary
)
PresentationContext
DomPresentationContext
Index
Properties
capabilities
signal?
Methods
dispatch
get
Snapshot
submit
subscribe
validate
Properties
Readonly
capabilities
capabilities
:
object
Optional
Readonly
signal
signal
?:
AbortSignal
Methods
dispatch
dispatch
(
command
:
EditorCommand
)
:
CommandOutcome
Parameters
command
:
EditorCommand
Returns
CommandOutcome
get
Snapshot
getSnapshot
()
:
SessionSnapshot
<
T
>
Returns
SessionSnapshot
<
T
>
submit
submit
()
:
Promise
<
SubmitOutcome
<
T
>
>
Returns
Promise
<
SubmitOutcome
<
T
>
>
subscribe
subscribe
(
listener
:
SessionListener
<
T
>
)
:
Unsubscribe
Parameters
listener
:
SessionListener
<
T
>
Returns
Unsubscribe
validate
validate
()
:
Promise
<
ValidationReport
>
Returns
Promise
<
ValidationReport
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
capabilities
signal
Methods
dispatch
get
Snapshot
submit
subscribe
validate
OmniDataEditor API
Loading...