{"id":15369135,"url":"https://github.com/developit/puredom.colorinput","last_synced_at":"2025-09-14T02:12:54.411Z","repository":{"id":11828365,"uuid":"14382693","full_name":"developit/puredom.colorinput","owner":"developit","description":"Bringing \u003cinput type=\"color\"\u003e to all browsers.","archived":false,"fork":false,"pushed_at":"2013-11-14T05:00:57.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-12T00:45:40.460Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://puredom.org/plugins/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developit.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":"2013-11-14T02:20:58.000Z","updated_at":"2013-11-14T05:14:38.000Z","dependencies_parsed_at":"2022-09-14T12:00:58.760Z","dependency_job_id":null,"html_url":"https://github.com/developit/puredom.colorinput","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/developit/puredom.colorinput","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fpuredom.colorinput","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fpuredom.colorinput/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fpuredom.colorinput/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fpuredom.colorinput/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developit","download_url":"https://codeload.github.com/developit/puredom.colorinput/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fpuredom.colorinput/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275051636,"owners_count":25396977,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-01T13:34:21.804Z","updated_at":"2025-09-14T02:12:54.388Z","avatar_url":"https://github.com/developit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"puredom.colorinput\n==================\nA puredom plugin that adds support for `\u003cinput type=\"color\"\u003e` to forms wrapped in [puredom.FormHandler](http://puredom.org/docs/symbols/puredom.FormHandler.html).  \nIt enhances color input fields with a graphical color picker in browsers that don't natively support color input.  \n\n*To use colorinput, add the CSS and JS files to your page:*  \n```html\n\u003clink rel=\"stylesheet\" type=\"text/css\" href=\"puredom.colorinput.css\" /\u003e\n\u003cscript src=\"puredom.colorinput.js\"\u003e\u003c/script\u003e\n```\n\n\n---\n\nSelection Methods\n=================\n\n`.colorinput( {Boolean} enabled )`  \n*Enable or disable color input for a field*  \n\n`.removecolorinput()`  \n*The same as calling `.colorinput(false)`*  \n\nSelection Example\n-----------------\n```html\n\u003c!-- standard input field --\u003e\n\u003cinput id=\"myColor\" value=\"#5599CC\" /\u003e\n\n\u003cscript\u003e\n\t// To enable the color picker for that field:\n\tpuredom('#myColor').colorinput();\n\t\n\t// To disable it:\n\tpuredom('#myColor').colorinput(false);\n\u003c/script\u003e\n```\n\n\n---\n\nUsing With FormHandler\n======================\nIf you're using [puredom.FormHandler](http://puredom.org/docs/symbols/puredom.FormHandler.html), all color inputs will be automatically enhanced once you include the plugin.  \n\nFormHandler Example\n-------------------\n```html\n\u003cform id=\"myForm\"\u003e\n\t\u003cinput type=\"color\" value=\"#5599CC\" /\u003e\n\u003c/form\u003e\n\n\u003cscript\u003e\n\tvar form = new puredom.FormHandler('#myForm', {\n\t\tenhance : true\n\t});\n\u003c/script\u003e\n```\n\n\n---\n\nLicense\n=======\nThis plugin is available under the BSD-3-Clause License:\n\n\u003e\tCopyright (c) Jason Miller. All rights reserved.\n\u003e\t\n\u003e\tRedistribution and use in source and binary forms, with or without modification, \n\u003e\tare permitted provided that the following conditions are met:\n\u003e\t\n\u003e\t*\tRedistributions of source code must retain the above copyright notice, \n\u003e\t\tthis list of conditions and the following disclaimer.\n\u003e\t\n\u003e\t*\tRedistributions in binary form must reproduce the above copyright notice, \n\u003e\t\tthis list of conditions and the following disclaimer in the documentation \n\u003e\t\tand/or other materials provided with the distribution.\n\u003e\t\n\u003e\t*\tNeither the name of Jason Miller, nor the names of its contributors may be used to endorse \n\u003e\t\tor promote products derived from this software without specific prior written permission.\n\u003e\t\n\u003e\tTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS \n\u003e\tOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY \n\u003e\tAND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER \n\u003e\tOR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL \n\u003e\tDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, \n\u003e\tDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER \n\u003e\tIN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY \n\u003e\tOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopit%2Fpuredom.colorinput","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelopit%2Fpuredom.colorinput","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopit%2Fpuredom.colorinput/lists"}