{"id":15110317,"url":"https://github.com/fdmediagroep/fdmg-ts-react-progress-bar","last_synced_at":"2025-09-27T12:32:13.872Z","repository":{"id":57233824,"uuid":"113558003","full_name":"FDMediagroep/fdmg-ts-react-progress-bar","owner":"FDMediagroep","description":"ReactJS ProgressBar component","archived":true,"fork":false,"pushed_at":"2020-05-07T08:58:28.000Z","size":1004,"stargazers_count":1,"open_issues_count":16,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-06T09:43:22.617Z","etag":null,"topics":["component","enzyme","fdmg","jest","react","reactjs","tslint","typescript","typescript2"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FDMediagroep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-08T09:39:21.000Z","updated_at":"2023-01-28T14:40:38.000Z","dependencies_parsed_at":"2022-09-04T21:21:12.649Z","dependency_job_id":null,"html_url":"https://github.com/FDMediagroep/fdmg-ts-react-progress-bar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDMediagroep%2Ffdmg-ts-react-progress-bar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDMediagroep%2Ffdmg-ts-react-progress-bar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDMediagroep%2Ffdmg-ts-react-progress-bar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FDMediagroep%2Ffdmg-ts-react-progress-bar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FDMediagroep","download_url":"https://codeload.github.com/FDMediagroep/fdmg-ts-react-progress-bar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234437983,"owners_count":18832597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["component","enzyme","fdmg","jest","react","reactjs","tslint","typescript","typescript2"],"created_at":"2024-09-25T23:44:15.014Z","updated_at":"2025-09-27T12:32:08.576Z","avatar_url":"https://github.com/FDMediagroep.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e :exclamation: **DEPRECATED** :exclamation:\n\n[![Build Status](https://travis-ci.org/FDMediagroep/fdmg-ts-react-progress-bar.svg?branch=master)](https://travis-ci.org/FDMediagroep/fdmg-ts-react-progress-bar)\n[![Coverage Status](https://coveralls.io/repos/github/FDMediagroep/fdmg-ts-react-progress-bar/badge.svg?branch=master)](https://coveralls.io/github/FDMediagroep/fdmg-ts-react-progress-bar?branch=master)\n\n[![npm version](https://badge.fury.io/js/%40fdmg%2Fts-react-progress-bar.svg)](https://badge.fury.io/js/%40fdmg%2Fts-react-progress-bar)\n\n# fdmg-ts-react-progress-bar\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/FDMediagroep/fdmg-ts-react-progress-bar.svg)](https://greenkeeper.io/)\n[ReactJS](https://reactjs.org/) ProgressBar component. This component renders a progress bar using an input of \n`type=range`. A screenshot of the ProgressBar in action below:\n\n![alt text](https://github.com/FDMediagroep/fdmg-ts-react-progress-bar/blob/master/demo/screenshots/audio-widget.png)\n\n## Installation\n- Run `npm i --save-dev @fdmg/ts-react-progress-bar`\n\nor\n\n- Run `yarn add @fdmg/ts-react-progress-bar --dev`\n\n## Usage\n### TypeScript\n```\nimport * as React from 'react';\nimport H1 from 'fdmg-ts-react-progress-bar';\n\nexport default class foo {\n    public state: any;\n    public props: any;\n\n    constructor(props: any) {\n        super(props);\n        this.props = props;\n        this.handleElapsedTimeUpdate = this.handleElapsedTimeUpdate.bind(this);\n    }\n    \n    handleElapsedTimeUpdate(e) {\n        console.log('Elapsed time percentage', e.target.value);\n    }\n\n    render() {\n        return (\n            \u003cProgressBar\n                ref={(progressBar) =\u003e { this.progressBar = progressBar; }}\n                currentTime={12}\n                duration={300}\n                percentage={4}\n                onElapsedTimeUpdate={this.handleElapsedTimeUpdate}\n                autoPlay={true}\n                isBuffering={false}\n                hideTimeLine={false}\n            /\u003e\n        );\n    }\n}\n```\n\n### Resulting HTML\n```\n\u003cdiv class=\"progress\"\u003e\n    \u003cdiv\u003e\n        \u003cdiv class=\"time-line\"\u003e\n            \u003cspan class=\"time-line-progress-bar\" style=\"width: 4%;\"\u003e\u003c/span\u003e\n            \u003cinput type=\"range\" step=\"0.01\"\u003e\n        \u003c/div\u003e\n    \u003c/div\u003e\n    \u003cdiv class=\"counters\"\u003e\n        \u003cspan\u003e12s\u003c/span\u003e\n        \u003cspan\u003e5m 0s\u003c/span\u003e\n    \u003c/div\u003e\n\u003c/div\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdmediagroep%2Ffdmg-ts-react-progress-bar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdmediagroep%2Ffdmg-ts-react-progress-bar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdmediagroep%2Ffdmg-ts-react-progress-bar/lists"}