{"id":16482518,"url":"https://github.com/f/jquery.resizestop","last_synced_at":"2025-10-27T18:11:13.472Z","repository":{"id":4447051,"uuid":"5585489","full_name":"f/jquery.resizestop","owner":"f","description":"Special Event for Resize Controls","archived":false,"fork":false,"pushed_at":"2012-08-29T06:09:00.000Z","size":91,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-11T11:48:04.002Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/f.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":"2012-08-28T12:29:32.000Z","updated_at":"2020-04-07T21:47:14.000Z","dependencies_parsed_at":"2022-09-13T22:01:58.373Z","dependency_job_id":null,"html_url":"https://github.com/f/jquery.resizestop","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/f%2Fjquery.resizestop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f%2Fjquery.resizestop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f%2Fjquery.resizestop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f%2Fjquery.resizestop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f","download_url":"https://codeload.github.com/f/jquery.resizestop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241214329,"owners_count":19928299,"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-10-11T13:11:06.540Z","updated_at":"2025-10-27T18:11:08.398Z","avatar_url":"https://github.com/f.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"jQuery.resizestop (and resizestart)\n===\nSimple resize control special event plugin for jQuery.\n\n## `resizestart` event\n\nThis is how you bind resize start event:\n```js\njQuery(window).on('resizestart', function () {\n\tconsole.log('resize started!');\n});\n```\n\n## `resizestop` event\n\nThis is how you bind resize stop event:\n```js\njQuery(window).on('resizestop', function () {\n\tconsole.log('resize stopped!');\n});\n```\n\n## Defining the sensivity\n\nThe second parameter sets the sensivity of start/stop event. Lesser value is higher. Default is 300 for event start, 200 for event stop.\n```js\njQuery(window).on('resizestop', 100, function () {\n\tconsole.log('resize stopped!');\n});\n```\nThat will work more slowly.\n```js\njQuery(window).on('resizestop', 1000, function () {\n\tconsole.log('resize stopped!');\n});\n```\n\n## Catching the event type with `event.type`\n```js\njQuery(window).on('resizestop resizestart', function (e) {\n\tconsole.log(e.type); // e.type will return \"resizestart\" or \"resizestop\"\n});\n```\n\n## Currying\nYou can use `resizestart` and `resizestop` instead of using `on` binding.\n```js\njQuery(window).resizestart(function (e) {\n\tconsole.log('resize started');\n});\n```\n\n```js\njQuery(window).resizestop(function (e) {\n\tconsole.log('resize stopped');\n});\n```\n\n```js\njQuery(window).resizestop(1000, function (e) {\n\tconsole.log('resize stopped'); // will work 1000ms delayed.\n});\n```\n\n## License\nLicense is CC0, means it is published to the public domain. You can use it for free wherever/whenever you want.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff%2Fjquery.resizestop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff%2Fjquery.resizestop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff%2Fjquery.resizestop/lists"}