{"id":13559376,"url":"https://github.com/zwacky/st-flippy","last_synced_at":"2025-05-12T17:16:39.185Z","repository":{"id":144883398,"uuid":"103778451","full_name":"zwacky/st-flippy","owner":"zwacky","description":"Easily flip elements - built with StencilJS","archived":false,"fork":false,"pushed_at":"2017-10-04T12:28:04.000Z","size":54,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T14:43:21.983Z","etag":null,"topics":["stenciljs","web-components"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/zwacky.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,"roadmap":null,"authors":null}},"created_at":"2017-09-16T19:29:12.000Z","updated_at":"2022-02-06T15:41:49.000Z","dependencies_parsed_at":"2024-01-14T02:51:07.913Z","dependency_job_id":"542b64ad-a302-4521-9b77-6650f71a814b","html_url":"https://github.com/zwacky/st-flippy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fst-flippy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fst-flippy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fst-flippy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fst-flippy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zwacky","download_url":"https://codeload.github.com/zwacky/st-flippy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253785014,"owners_count":21963903,"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":["stenciljs","web-components"],"created_at":"2024-08-01T13:00:20.407Z","updated_at":"2025-05-12T17:16:39.160Z","avatar_url":"https://github.com/zwacky.png","language":"TypeScript","funding_links":[],"categories":["Ecosystem Highlights"],"sub_categories":["Utilities \u0026 Integrations"],"readme":"# st-flippy\n\n## Examples\n\n* **Vanilla**: https://jsbin.com/falipumuri/edit?html,output\n* **AngularJS**: https://jsbin.com/qegirayowo/edit?html,js,output\n* **React**: can't get it to run on JS-REPL sites... would look similar to this: https://jsbin.com/lubukodike/edit?html,js,output\n\n## Usage\n\nJust add `\u003cscript async defer src=\"https://rawgit.com/zwacky/st-flippy/master/dist/stflippy.js\"\u003e\u003c/script\u003e` into your app.\n\nThen in the template:\n\n```\n\u003cst-flippy {PARAMS}\u003e\n    \u003cdiv slot=\"front\"\u003e\n        {HERE COMES YOUR FRONT}\n    \u003c/div\u003e\n    \u003cdiv slot=\"front\"\u003e\n        {HERE COMES YOUR BACK}\n    \u003c/div\u003e\n\u003c/st-flippy\u003e\n```\n\n**Caveat**: Currently the flippy component is not a blocked element. Add its height and `display: block` and it should work with your layout.\n\n## API (params)\n\nMandatory params (either `is-flipped` or `flip-(back-)events`):\n\n* **is-flipped**: boolean\n* **flip-events**: string, concatenated with ','\n* **flip-back-events**: string, concatenated with ','\n\nOptional params:\n\n* **flip-duration**: number, default `400`\n* **flip-timing-function**: string, default `ease-in`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwacky%2Fst-flippy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzwacky%2Fst-flippy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwacky%2Fst-flippy/lists"}