{"id":20420342,"url":"https://github.com/deepraining/see-view","last_synced_at":"2025-12-12T02:58:07.064Z","repository":{"id":58222666,"uuid":"86395274","full_name":"deepraining/see-view","owner":"deepraining","description":"一个 JQuery 事件绑定的快捷方式，类似 Backbone.View. A shortcut way of event binding for JQuery, like Backbone.View.","archived":false,"fork":false,"pushed_at":"2019-07-30T02:04:26.000Z","size":62,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-19T20:52:59.776Z","etag":null,"topics":["bind","event","jquery","view"],"latest_commit_sha":null,"homepage":"","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/deepraining.png","metadata":{"files":{"readme":"README.en.md","changelog":"CHANGELOG.md","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-03-27T23:53:52.000Z","updated_at":"2020-06-08T02:06:23.000Z","dependencies_parsed_at":"2022-08-31T02:00:51.977Z","dependency_job_id":null,"html_url":"https://github.com/deepraining/see-view","commit_stats":null,"previous_names":["senntyou/see-view","senntyou/jquery.seeview"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/deepraining/see-view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fsee-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fsee-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fsee-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fsee-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepraining","download_url":"https://codeload.github.com/deepraining/see-view/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fsee-view/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274412400,"owners_count":25280197,"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","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bind","event","jquery","view"],"created_at":"2024-11-15T06:42:31.249Z","updated_at":"2025-12-12T02:58:02.025Z","avatar_url":"https://github.com/deepraining.png","language":"JavaScript","readme":"# see-view\n\n[中文文档](./README.md)\n\nA shortcut way of event binding for JQuery, like Backbone.View.\n\n```\nnpm install see-view --save\n```\n\n```\nimport seeView from 'see-view';\n\nseeView({\n  events: {\n    'eventName selectors': 'methodName', // default use event delegating\n    '!eventName selectors': 'methodName', // do not use event delegating.\n  },\n  methodName(e) {\n    // do something\n  },\n});\n```\n\n- `eventName`: event name, `click, focus, ...`\n- `selectors`: use `,` to split multiple selectors, `#id`, `#id, .class, tagName`, `#id tagName, .class tagName`\n- use spaces to split eventName and selectors\n- if you do not want to use event delegating, add `!` before `eventName`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepraining%2Fsee-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepraining%2Fsee-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepraining%2Fsee-view/lists"}