{"id":17651362,"url":"https://github.com/nash403/ribble","last_synced_at":"2025-05-07T08:01:54.188Z","repository":{"id":65373177,"uuid":"120909459","full_name":"nash403/ribble","owner":"nash403","description":"Material ripple effect with ease (Vanilla js, works also as a Vue.js directive)","archived":false,"fork":false,"pushed_at":"2018-02-22T14:15:11.000Z","size":44,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T13:17:18.031Z","etag":null,"topics":["material","ripple","ripple-effect","vanilla","vue"],"latest_commit_sha":null,"homepage":null,"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/nash403.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":"2018-02-09T13:33:38.000Z","updated_at":"2021-10-13T17:34:01.000Z","dependencies_parsed_at":"2023-01-20T02:18:07.500Z","dependency_job_id":null,"html_url":"https://github.com/nash403/ribble","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nash403%2Fribble","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nash403%2Fribble/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nash403%2Fribble/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nash403%2Fribble/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nash403","download_url":"https://codeload.github.com/nash403/ribble/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252839274,"owners_count":21812084,"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":["material","ripple","ripple-effect","vanilla","vue"],"created_at":"2024-10-23T11:41:57.375Z","updated_at":"2025-05-07T08:01:54.110Z","avatar_url":"https://github.com/nash403.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ribble\n\n\u003e Material ripple effect with ease (Vanilla js, works also as a Vue.js directive)\n\n## Install\n\nThis package is available on npm.\n\nUsing npm:\n\n`npm install --save ribble`\n\nUsing yarn:\n\n`yarn add ribble`\n\nFor browser, import `node_modules/ribble/dist/ribble.js` in your html.\n\n## Example\n\n[Live Demo](#) (TODO)\n\nWith Vue.js as a directive:\n\n```html\n  \u003cbutton v-ribble\u003eA button\u003c/button\u003e\n  \u003cbutton v-ribble=\"{bgColor:'blue'}\"\u003eA button\u003c/button\u003e\n  \u003cbutton v-ribble.mouseenter\u003eA button\u003c/button\u003e\n```\n\nIn Vanilla js, after the DOMContentLoaded event:\n\n```javascript\nRibble.attachEvent(el, options, triggers)\n// triggers can be an event or an array of events (ex: mouseenter, doubleclick, etc). It will default to ['mousedown', 'touchstart']\n\n// NOTE: for the mousedown event, it will only listen for the left button.\n```\n\n### Options\n\nThe default options are:\n\n```js\n{\n  duration: 400, // transition duration\n  zIndex: \"9999\",\n  bgColor: \"currentColor\",\n  maxOpacity: \"0.4\", // the opacity will change from '0.2' to maxOpacity and then to '0'\n  easing: \"cubic-bezier(0.4, 0, 0.2, 1)\" // css easing\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnash403%2Fribble","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnash403%2Fribble","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnash403%2Fribble/lists"}