xAPI.js
GitHub
npm
Search…
xAPI.js
xAPI Wrapper Library
Introduction
Getting Started
The XAPI Class
Statement Resource
State Resource
Activity Profile Resource
Agent Profile Resource
About Resource
Agents Resource
Activities Resource
Helpers
Verbs
Attachment Usages
cmi5 Profile Library
Introduction
Getting Started
The Cmi5 Class
"cmi5 defined" Statement methods
"cmi5 allowed" Statement methods
Helpers
Powered By
GitBook
Verbs
For a non-exhaustive list of pre-made verbs for creating statements, see the
Verbs
class. Verbs are a static property of the
XAPI
Object.
1
import
XAPI
,
{
Statement
}
from
"@xapi/xapi"
;
2
3
const
statement
:
Statement
=
{
4
actor
:
actor
,
5
verb
:
XAPI
.
Verbs
.
INITIALIZED
,
6
object
:
object
7
};
Copied!
xAPI Wrapper Library - Previous
Helpers
Next - xAPI Wrapper Library
Attachment Usages
Last modified
1yr ago
Copy link