{"id":27352421,"url":"https://github.com/fiws/fi-ripple","last_synced_at":"2025-04-12T20:55:17.653Z","repository":{"id":57235093,"uuid":"101578677","full_name":"fiws/fi-ripple","owner":"fiws","description":"Performant ripples for vue or plain js","archived":false,"fork":false,"pushed_at":"2022-01-13T11:19:28.000Z","size":23,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T20:55:13.578Z","etag":null,"topics":["component","material-design","plain-js","ripple","vue"],"latest_commit_sha":null,"homepage":"https://fi-ripple.surge.sh","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/fiws.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-27T20:32:48.000Z","updated_at":"2022-11-21T03:25:30.000Z","dependencies_parsed_at":"2022-08-23T15:50:32.572Z","dependency_job_id":null,"html_url":"https://github.com/fiws/fi-ripple","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiws%2Ffi-ripple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiws%2Ffi-ripple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiws%2Ffi-ripple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiws%2Ffi-ripple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fiws","download_url":"https://codeload.github.com/fiws/fi-ripple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631700,"owners_count":21136560,"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":["component","material-design","plain-js","ripple","vue"],"created_at":"2025-04-12T20:55:17.093Z","updated_at":"2025-04-12T20:55:17.642Z","avatar_url":"https://github.com/fiws.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fi-ripple\n\nTiny (\u003e4 KiB gzipped) no-dependencies ripple effect for plain js or vue.\n\n## Usage\n\nInstall with `npm install fi-ripple`.\n\nYou will also need to install `dom4` if you want IE 10/11 support.\n\nThe ripple inherits the color from css. To change it, modify the `color` css property on the container.\n\n### With Vue\n\n```js\n// dom4 is only needed for IE (10+) support – import it once\nimport 'dom4';\nimport Ripple from 'fi-ripple';\n\nexport default {\n  directives: {\n    Ripple,\n  },\n}\n```\n\nNow you can use the directive in your component template:\n\n```html\n\u003cbutton v-ripple\u003eClick me\u003c/button\u003e\n```\n\n### With plain JS\n\n```js\n// import the Ripple constructor\nimport { FiRipple } from 'fi-ripple';\n\nconst rippleContainer = document.getElementById('test');\n// listen for clicks inside the given container\nnew FiRipple(rippleContainer);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiws%2Ffi-ripple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiws%2Ffi-ripple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiws%2Ffi-ripple/lists"}