aybjax-xapi
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Built With Stencil

Beyim Xapi wrapper component

Use

<beyim-xapi ...attrs> <component-for-xapi-notification></component-for-xapi-notification> </beyim-xapi>

Attributes

  • debug?:boolean
    • for logging information
  • verb!:string
    • xapi verb
  • name!:string
    • xapi name
  • verb!:string
    • xapi verb
  • subject!:string
    • xapi subject
  • host?:string
    • xapi host
    • can be retrieved from window location if absent
  • backend?:string
    • xapi backend
    • required, but if absent sends to local.veracity.it for devs use
  • type!:'button'|'view'
    • triggered by: click or view for timeout seconds
  • view-timeout?:number
    • view time before sending to xapi backend
    • default is 10 seconds
  • view-threshold?
    • what percentage should be visible for timeout seconds for sending
    • default is 80

Readme

Keywords

none

Package Sidebar

Install

npm i aybjax-xapi

Weekly Downloads

34

Version

0.0.3

License

MIT

Unpacked Size

2.35 MB

Total Files

87

Last publish

Collaborators

  • aybjax