@brightspace-ui-labs/seek-bar

3.0.0 • Public • Published

@brightspace-ui-labs/seek-bar

A Polymer seek bar to use with audio and video players.

Usage

  • Ensure you have the correct .npmrc file in your project or home directory
  • Run npm install
  • Import and use the component:
import '@brightspace-ui-labs/seek-bar/d2l-seek-bar.js';
...

<d2l-seek-bar value="40"></d2l-seek-bar>

Developing

After cloning the repo, run npm install to install dependencies.

Running the demos

To start a @web/dev-server that hosts the demo page and tests:

npm start

Linting

npm run lint

Testing

# lint & run headless unit tests
npm test

# unit tests only
npm run test:headless

# debug or run a subset of local unit tests
npm run test:headless:watch

Versioning and Releasing

This repo is configured to use semantic-release. Commits prefixed with fix: and feat: will trigger patch and minor releases when merged to main.

To learn how to create major releases and release from maintenance branches, refer to the semantic-release GitHub Action documentation.

Readme

Keywords

none

Package Sidebar

Install

npm i @brightspace-ui-labs/seek-bar

Weekly Downloads

705

Version

3.0.0

License

Apache-2.0

Unpacked Size

26.6 kB

Total Files

5

Last publish

Collaborators

  • d2l-travis-deploy
  • dlockhart
  • dave.batiste