xAPI.js
  • 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
On this page

Was this helpful?

  1. xAPI Wrapper Library

Verbs

PreviousHelpersNextAttachment Usages

Last updated 6 months ago

Was this helpful?

For a non-exhaustive list of pre-made verbs for creating statements, see the class. Verbs are a static property of the XAPI Object.

import XAPI, { Statement } from "@xapi/xapi";

const statement: Statement = {
  actor: actor,
  verb: XAPI.Verbs.INITIALIZED,
  object: object
};

Verbs