{"id":23053604,"url":"https://github.com/component/flipbox","last_synced_at":"2025-08-15T04:30:44.406Z","repository":{"id":65994257,"uuid":"9824292","full_name":"component/flipbox","owner":"component","description":"Double-sided flip box using css transformations.","archived":false,"fork":false,"pushed_at":"2013-05-02T22:58:47.000Z","size":116,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-05-08T17:10:52.549Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/component.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","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":"2013-05-02T22:56:36.000Z","updated_at":"2023-08-24T15:00:18.000Z","dependencies_parsed_at":"2023-02-19T21:00:52.861Z","dependency_job_id":null,"html_url":"https://github.com/component/flipbox","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fflipbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fflipbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fflipbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fflipbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/component","download_url":"https://codeload.github.com/component/flipbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229890575,"owners_count":18140125,"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-12-16T00:18:54.443Z","updated_at":"2024-12-16T00:18:54.990Z","avatar_url":"https://github.com/component.png","language":"JavaScript","readme":"\n# flipbox\n\n  Double-sided flip box using css transformations.\n\n## Installation\n\n    $ component install component/flipbox\n\n## Example\n\n```html\n\u003cdiv id=\"card\"\u003e\n  \u003cdiv\u003e\n    \u003cdiv\u003efront\u003c/div\u003e\n    \u003cdiv\u003eback\u003c/div\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\n\u003cscript\u003e\n  var card = document.querySelector('#card');\n  var Flipbox = require('flipbox');\n  var box = new Flipbox(card);\n\n  box.el.onclick = function(){\n    box.flip();\n  };\n\u003c/script\u003e\n```\n\n## API\n\n### Flipbox(el)\n\n  Initialize a `Flipbox` with the given container `el`. Inside\n  this should be a wrapper `div`, within that should be the two\n  faces. View _./example.html_ for a full example.\n\n### Flipbox#flip()\n\n  Toggle the visibile face.\n\n### Flipbox#front()\n\n  Show the front face.\n\n### Flipbox#back()\n\n  Show the back face.\n\n## License\n\n  MIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Fflipbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomponent%2Fflipbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Fflipbox/lists"}