{"id":18018977,"url":"https://github.com/nv/focus-snail","last_synced_at":"2025-03-26T20:31:12.078Z","repository":{"id":12386604,"uuid":"15038809","full_name":"NV/focus-snail","owner":"NV","description":"Leaves a trail from the previously focused element.","archived":false,"fork":false,"pushed_at":"2013-12-09T05:16:30.000Z","size":136,"stargazers_count":26,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"gh-pages","last_synced_at":"2024-04-15T13:56:33.992Z","etag":null,"topics":["javascript","ui","ui-components","ui-design","ui-experiment"],"latest_commit_sha":null,"homepage":"http://n12v.com/focus-transition-2/","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/NV.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-09T05:16:07.000Z","updated_at":"2024-01-27T23:17:35.000Z","dependencies_parsed_at":"2022-09-10T14:40:55.338Z","dependency_job_id":null,"html_url":"https://github.com/NV/focus-snail","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/NV%2Ffocus-snail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NV%2Ffocus-snail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NV%2Ffocus-snail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NV%2Ffocus-snail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NV","download_url":"https://codeload.github.com/NV/focus-snail/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222167599,"owners_count":16942290,"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":["javascript","ui","ui-components","ui-design","ui-experiment"],"created_at":"2024-10-30T05:08:35.122Z","updated_at":"2024-10-30T05:08:35.735Z","avatar_url":"https://github.com/NV.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[Flying Focus](//github.com/NV/flying-focus/)\n · **Focus Snail**\n · [Focus Zoom](//github.com/NV/focus-zoom/)\n · [Focus Hug](//github.com/NV/focus-hug/)\n\n![Focus Snail icon](http://nv.github.io/focus-snail/chrome/icon_128.png)\n\n## [focus-snail.js](http://nv.github.io/focus-snail/standalone/focus-snail.js)\n\nTo use, just include `\u003cscript src=\"focus-snail.js\"\u003e\u003c/script\u003e` inside either `\u003chead\u003e` or `\u003cbody\u003e`.\nIt includes all necessary CSS and has no external dependencies.\n\nTo build from source use `rake standalone`.\n\n### Browser support\n\nTested in Chrome 28-32, Safari 6.1–7, Firefox 24.\nFocus Snail uses SVG which is not supported in IE version 8 and below.\n\n### API\n\nFocus Snail exposes `focusSnail` global variable.\n\n`focusSnail.trigger(prevElement, element)` manually runs the effect for `prevElement` to `element`.\n\n`focusSnail.enabled = true` trigger the effect on focus event.\n\n\n## [Chrome extension](https://chrome.google.com/webstore/detail/focus-snail/bplpobmpcnpddpabcpfnddhimhjicgpc)\n\nNo build step required; just load it as an unpacked extension from `chrome/`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnv%2Ffocus-snail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnv%2Ffocus-snail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnv%2Ffocus-snail/lists"}