aybjax-xapi
v0.0.3
Published
Stencil Component Starter
Downloads
1
Readme
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