{"id":20872724,"url":"https://github.com/zalari/md-color-slider","last_synced_at":"2025-07-20T04:33:29.576Z","repository":{"id":58223324,"uuid":"47324455","full_name":"zalari/md-color-slider","owner":"zalari","description":"Simple Material design color slider directive for Angular.","archived":false,"fork":false,"pushed_at":"2015-12-04T10:33:20.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-12T21:54:31.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zalari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-03T10:20:19.000Z","updated_at":"2015-12-03T11:38:19.000Z","dependencies_parsed_at":"2022-09-03T23:21:34.099Z","dependency_job_id":null,"html_url":"https://github.com/zalari/md-color-slider","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zalari/md-color-slider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Fmd-color-slider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Fmd-color-slider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Fmd-color-slider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Fmd-color-slider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zalari","download_url":"https://codeload.github.com/zalari/md-color-slider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Fmd-color-slider/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266067284,"owners_count":23871324,"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":[],"created_at":"2024-11-18T06:20:27.014Z","updated_at":"2025-07-20T04:33:29.549Z","avatar_url":"https://github.com/zalari.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# md-color-slider\nSimple Material design color slider for [AngularJS](https://github.com/angular/angular.js) using [Material Design for AngularJS](https://github.com/angular/material/).\nNo jQuery or TinyColor dependencies.\n\n![preview](https://raw.githubusercontent.com/zalari/md-color-slider/master/md-color-slider.png)\n\n## Demo\nTry the Demo on [Plunker](http://run.plnkr.co/UKGb9g2xz4vRiAiJ/).\n\n## Install\n\u003c!--### NPM\nInstall `md-color-slider`.\n```bash\nnpm install md-color-slider\n```--\u003e\n\n### Bower:\n```bash\nbower install md-color-slider -S\n```\n\n## Usage\nInclude the stylesheet:\n````html\n\u003clink href=\"bower_components/md-color-slider/dist/mdColorSlider.min.css\"\u003e\n````\n\nInclude the javascript:\n````html\n\u003cscript src=\"bower_components/md-color-slider/dist/mdColorSlider.min.js\"\u003e\u003c/script\u003e\n````\n\nAdd dependencies to your application (ngAnimate is optional)\n````javascript\nangular.module('myApp', ['ngMaterial','ngAnimate', 'mdColorSlider']);\n````\n\nPlace the directive anywhere inside a ```md-input-container```:\n````html\n\u003cmd-input-container class=\"md-icon-float\"\u003e\n    \u003cmd-color-slider ng-model=\"[your model]\"\u003e\u003c/md-color-slider\u003e\n\u003c/md-input-container\u003e\n````\nWhen using labels be sure to provide the css class ```md-icon-float``` to the ```md-input-container``` wrapper.\n\nYou can provide an classic input too:\n````html\n\u003cmd-input-container class=\"md-icon-float\"\u003e\n    \u003clabel\u003eI'm labeled!\u003c/label\u003e\n    \u003cmd-color-slider ng-model=\"[your model]\"\u003e\u003c/md-color-slider\u003e\n    \u003cinput ng-model=\"[your model]\"\u003e\n\u003c/md-input-container\u003e\n````\n\n## Dependencies\n- [Angular Material](https://material.angularjs.org)\n- [ngAnimate](https://docs.angularjs.org/api/ngAnimate) (optional)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalari%2Fmd-color-slider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzalari%2Fmd-color-slider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalari%2Fmd-color-slider/lists"}