{"id":20383515,"url":"https://github.com/smerth/polymer-toggle-element","last_synced_at":"2026-03-19T15:34:43.582Z","repository":{"id":48000812,"uuid":"77081345","full_name":"smerth/polymer-toggle-element","owner":"smerth","description":"Toggle Element built with Polymer","archived":false,"fork":false,"pushed_at":"2022-12-03T15:41:06.000Z","size":492,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T22:44:42.569Z","etag":null,"topics":["codelab","polymer"],"latest_commit_sha":null,"homepage":"https://smerth.github.io/polymer-toggle-element","language":"HTML","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/smerth.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}},"created_at":"2016-12-21T19:46:05.000Z","updated_at":"2022-06-17T17:08:51.000Z","dependencies_parsed_at":"2023-01-22T20:30:10.242Z","dependency_job_id":null,"html_url":"https://github.com/smerth/polymer-toggle-element","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smerth/polymer-toggle-element","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smerth%2Fpolymer-toggle-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smerth%2Fpolymer-toggle-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smerth%2Fpolymer-toggle-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smerth%2Fpolymer-toggle-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smerth","download_url":"https://codeload.github.com/smerth/polymer-toggle-element/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smerth%2Fpolymer-toggle-element/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30281496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["codelab","polymer"],"created_at":"2024-11-15T02:23:10.377Z","updated_at":"2026-03-09T03:32:07.272Z","avatar_url":"https://github.com/smerth.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polymer Toggle Element\n\nThis element is meant to be included in any other element where a toggle is required.  `icon-toggle.html` defines the icon toggle element.  `icon-toggle-demo` imports the icon toggle and sets some configurable parameters like which icon and what message. Both elements are registered in the `elements.html`\n\nFinally, either element is printed out in `index.html`, or another page or element...\n\nThis could be integrated with Firebase Authentication and Firebase Database to keep track of the toggle state for a peice of content or a user.\n\n## Install\n\nYou'll need to have node.js, polymer-cli and yarn installed to begin\n\nInstall bower dependancies\n\n```bash\npolymer install\n```\n\nInstall gulp to deploy to gh-pages\n\n```bash\nyarn install\n```\n\n## Develop\n\n```bash\npolymer serve\n```\n\n## Build\n\nto build the compiled app\n\n```bash\npolymer build\n```\n\nto serve the built app\n\n```bash\npolymer serve build/default\n```\n\n## Deploy to gh-pages\n\nSet up your codebase on github and then run\n\n```bash\ngulp deploy\n```\n\n\n## Reference\n\n- [Build your first Polymer element codelab](http://www.code-labs.io/codelabs/polymer-first-elements/)\n\n- If you're wondering what `polymer serve` does, see [Testing elements with local bower dependencies](https://www.polymer-project.org/1.0/docs/start/reusableelements.html#local-dependencies)  in the Polymer docs. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmerth%2Fpolymer-toggle-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmerth%2Fpolymer-toggle-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmerth%2Fpolymer-toggle-element/lists"}