H5P NodeJS Library
GitHub
Preparing search index...
@lumieducation/h5p-react
<internal>
IH5PPlayerUIProps
Interface IH5PPlayerUIProps
interface
IH5PPlayerUIProps
{
asUserId
?:
string
;
contentId
:
string
;
contextId
?:
string
;
loadContentCallback
:
(
contentId
:
string
,
contextId
?:
string
,
asUserId
?:
string
,
readOnlyState
?:
boolean
,
)
=>
Promise
<
IPlayerModel
>
;
onInitialized
?:
(
contentId
:
string
)
=>
void
;
onxAPIStatement
?:
(
statement
:
any
,
context
:
any
,
event
:
IxAPIEvent
)
=>
void
;
readOnlyState
?:
boolean
;
}
Index
Properties
as
User
Id?
content
Id
context
Id?
load
Content
Callback
on
Initialized?
onxAPIStatement?
read
Only
State?
Properties
Optional
as
User
Id
asUserId
?:
string
content
Id
contentId
:
string
Optional
context
Id
contextId
?:
string
load
Content
Callback
loadContentCallback
:
(
contentId
:
string
,
contextId
?:
string
,
asUserId
?:
string
,
readOnlyState
?:
boolean
,
)
=>
Promise
<
IPlayerModel
>
Optional
on
Initialized
onInitialized
?:
(
contentId
:
string
)
=>
void
Optional
onxAPIStatement
onxAPIStatement
?:
(
statement
:
any
,
context
:
any
,
event
:
IxAPIEvent
)
=>
void
Optional
read
Only
State
readOnlyState
?:
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
as
User
Id
content
Id
context
Id
load
Content
Callback
on
Initialized
onxAPIStatement
read
Only
State
GitHub
H5P NodeJS Library
Loading...