0.0.8 • Published 4 years ago

video-behaviour-survey v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Built With Stencil

Video Behavior Survey

This is a project for video behaviour, it is a standalone Web Component using Stencil.

video-behaviour-survey

Properties

PropertyAttributeDescriptionTypeDefault
bootupTextbootup-textstringundefined
bootupTimebootup-timeanyundefined
challengeAnswerTimechallenge-answer-timeany5
challengeDescriptionTextchallenge-description-textstringundefined
challengeFailTextchallenge-fail-textstringundefined
challengeIntervalchallenge-intervalany5
challengeSuccessTextchallenge-success-textstringundefined
endendanyundefined
exitSleepModeKeyexit-sleep-mode-keystringundefined
sleepModeTextsleep-mode-textstringundefined
startstartanyundefined
timeOverTexttime-over-textstringundefined
timeouttimeoutany5
videoHeightvideo-heightanyundefined
videoIdvideo-idanyundefined
videoWidthvideo-widthanyundefined

Getting Started

To start building a new web component using Stencil, clone this repo to a new directory:

npm install
npm start

To build the component for production, run:

npm run build

To run the unit tests for the components, run:

npm test

Need help? Check out docs here.

Using this component

Node Modules

  • Run npm install video-behaviour-survey --save
  • Put a script tag similar to this <script src='node_modules/video-behaviour-survey/dist/video-behaviour-survey.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

In a stencil-starter app

  • Run npm install video-behaviour-survey --save
  • Add an import to the npm packages import video-behaviour-survey;
  • Then you can use the element anywhere in your template, JSX, html etc