{"id":23447271,"url":"https://github.com/orderandch4os/log-slider","last_synced_at":"2026-05-02T04:31:47.265Z","repository":{"id":42918859,"uuid":"246139121","full_name":"OrderAndCh4oS/log-slider","owner":"OrderAndCh4oS","description":"JS log scaling slider","archived":false,"fork":false,"pushed_at":"2023-05-06T11:08:53.000Z","size":2038,"stargazers_count":2,"open_issues_count":11,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-03T10:31:37.286Z","etag":null,"topics":["html","javascript","log-slider","range-input","vanilla-javascript","vanilla-js"],"latest_commit_sha":null,"homepage":"https://OrderAndCh4oS.github.io/log-slider/","language":"CSS","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/OrderAndCh4oS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-03-09T20:48:55.000Z","updated_at":"2023-11-11T02:31:32.000Z","dependencies_parsed_at":"2023-07-18T07:26:41.982Z","dependency_job_id":null,"html_url":"https://github.com/OrderAndCh4oS/log-slider","commit_stats":null,"previous_names":["sarcoma/range-slider","sarcoma/log-slider"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrderAndCh4oS%2Flog-slider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrderAndCh4oS%2Flog-slider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrderAndCh4oS%2Flog-slider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrderAndCh4oS%2Flog-slider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OrderAndCh4oS","download_url":"https://codeload.github.com/OrderAndCh4oS/log-slider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137967,"owners_count":21053790,"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":["html","javascript","log-slider","range-input","vanilla-javascript","vanilla-js"],"created_at":"2024-12-23T21:17:12.169Z","updated_at":"2026-05-02T04:31:47.227Z","avatar_url":"https://github.com/OrderAndCh4oS.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# log-slider\n\nhttps://OrderAndCh4oS.github.io/log-slider/\n\n## Setup\n\n### CDN \n\nInclude these in your HTML somewhere (update the version number if a new version is available).\n\n*script*  \n`\u003cscript src=\"https://cdn.jsdelivr.net/npm/@orderandchaos/log-slider@3.0.4/lib/log-slider.js\"\u003e\u003c/script\u003e`\n\n*stylesheet*  \n`\u003clink href=\"https://cdn.jsdelivr.net/npm/@orderandchaos/log-slider@3.0.4/lib/log-slider.css\" rel=\"stylesheet\"/\u003e`\n\n## Examples\n\n### Log scale slider\n\n*js*\n```javascript\nconst handleDemoLogUpdate = (log, value) =\u003e {\n    console.log(log, value);\n};\n\nconst demoLog = new LogSlider({\n    id: 'log-scale',\n    min: 100,\n    max: 10000,\n    type: sliderTypes.LOG,\n    showTab: true,\n    callback: handleDemoLogUpdate,\n});\n```\n*html*\n```html\n\u003cinput type=\"range\" id=\"log-scale\"/\u003e\n```\n\n### Linear scale slider\n\n*js*\n```javascript\nconst handleDemoLinearUpdate = (value) =\u003e {\n    console.log(value);\n};\n\nconst demoLinear = new LogSlider({\n    id: 'linear-scale',\n    min: 1,\n    max: 1000,\n    showTab: true,\n    callback: handleDemoLinearUpdate,\n});\n```\n*html*\n```html\n\u003cinput type=\"range\" id=\"linear-scale\"/\u003e\n```\n\n### Linear scale slider with steps\n\n*js*\n```javascript\nconst handleDemoLinearUpdate = (value) =\u003e {\n    console.log(value);\n};\n\nconst demoLinearStepped = new LogSlider({\n    id: 'linear-scale',\n    min: 1,\n    max: 100,\n    type: sliderTypes.LINEAR,\n    steps: [1, 10, 25, 50, 100],\n    showTab: true,\n    callback: handleDemoLinearUpdate,\n});\n```\n\n*html*\n```html\n\u003cinput type=\"range\" id=\"linear-scale\"/\u003e\n```\n\n## Examples Using HTML Attributes\n\n### Linear scale slider with steps\n*html*\n```html\n\u003cdiv class=\"form-field\"\u003e\n    \u003clabel for=\"linear-scale\"\u003eLinear Scale\u003c/label\u003e\n    \u003cinput type=\"range\"\n           id=\"linear-scale\"\n           class=\"slider\"\n           step=\"1\"\n           min=\"1\"\n           max=\"100\"\n           data-steps=\"1,5,15,50,75,100\"\n           data-decimal-places=\"2\"\n           data-show-tab=\"true\"\n    /\u003e\n\u003c/div\u003e\n```\n\n*js*\n```javascript\nconst demoLinear = new LogSlider({\n    id: 'linear-scale',\n    callback: (value) =\u003e {console.log(value)},\n});\n```\n\n### Log scale slider\n*html*\n```html\n\u003cdiv class=\"form-field\"\u003e\n    \u003clabel for=\"log-scale\"\u003eLog Scale\u003c/label\u003e\n    \u003cinput type=\"range\"\n           id=\"log-scale\"\n           class=\"slider\"\n           step=\"1\"\n           min=\"1\"\n           max=\"10000\"\n           data-type=\"log\"\n           data-show-tab=\"true\"\n    /\u003e\n\u003c/div\u003e\n```\n\n*js*\n```javascript\nconst demoLog = new LogSlider({\n    id: 'log-scale',\n    callback: (log) =\u003e {console.log(log)},\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forderandch4os%2Flog-slider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forderandch4os%2Flog-slider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forderandch4os%2Flog-slider/lists"}