{"id":25979266,"url":"https://github.com/bjorg/rx.jquery.observe","last_synced_at":"2025-03-05T06:29:09.935Z","repository":{"id":1076951,"uuid":"919996","full_name":"bjorg/rx.jQuery.observe","owner":"bjorg","description":"Observer pattern for RxJs with jQuery","archived":false,"fork":false,"pushed_at":"2011-05-01T23:30:47.000Z","size":3644,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T07:09:23.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bjorg.png","metadata":{"files":{"readme":"readme.txt","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":"2010-09-18T02:52:03.000Z","updated_at":"2023-11-03T17:08:48.000Z","dependencies_parsed_at":"2022-07-15T07:00:49.916Z","dependency_job_id":null,"html_url":"https://github.com/bjorg/rx.jQuery.observe","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/bjorg%2Frx.jQuery.observe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2Frx.jQuery.observe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2Frx.jQuery.observe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2Frx.jQuery.observe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjorg","download_url":"https://codeload.github.com/bjorg/rx.jQuery.observe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241978504,"owners_count":20051990,"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":"2025-03-05T06:29:09.460Z","updated_at":"2025-03-05T06:29:09.922Z","avatar_url":"https://github.com/bjorg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"rx.jQuery.observe (v0.1)\n========================\n\nThis jQuery plugin is used for subscribing the property of a DOM element to an Observable from\nthe [Reactive Framework library](http://msdn.microsoft.com/en-us/devlabs/ee794896.aspx).\nThe plugin ensures that at most one subscription per property for the DOM element is active.  \nIf the DOM element property is updated to observe another Observable, the previous subscription \nis automatically disposed.  Similarly, if the DOM element is destroyed, all its subscriptions\nare disposed as well.\n\nPrerequisites\n-------------\nThis plugin has the following dependencies\n\n* jQuery library: [jquery.js](http://jquery.com)\n* Reactive Framework for Javascript: [rx.js](http://msdn.microsoft.com/en-us/devlabs/ee794896.aspx)\n* (optional) Javascript MVC DOM destroyed event: jquery.event.destroyed.js (included in redist folder)\n\nFunctions\n---------\n\n$(select).observe(observable)\n    Subscribe DOM elements to changes in the observable. The subscribed \n    DOM property to update is based on the element type: 'val' for input \n    elements and 'text' for all others.\n\n$(select).observe()\n    Unsubscribe DOM elements fom changes in the observable. The \n    unsubscribed DOM property is based on the element type: 'val' for \n    input elements and 'text' for all others.\n\n$(select).observe('html', observable)\n$(select).observe('text', observable)\n$(select).observe('val', observable)\n$(select).observe('height', observable)\n$(select).observe('width', observable)\n$(select).observe('offset', observable)\n$(select).observe('css', observable)\n$(select).observe('@attribute-name', observable)\n    Subscribe DOM elements to changes in the observable. The specified \n    DOM property is subscribed to updates.\n\n$(select).observe('html')\n$(select).observe('text')\n$(select).observe('val')\n$(select).observe('height')\n$(select).observe('width')\n$(select).observe('offset')\n$(select).observe('css')\n$(select).observe('@attribute-name')\n    Unsubscribe DOM elements fom changes in the observable. The specified \n    DOM property is unsubscribed.\n\n$(select).observe('destroy')\n    Unsubscribe all subscriptions in DOM elements.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjorg%2Frx.jquery.observe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjorg%2Frx.jquery.observe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjorg%2Frx.jquery.observe/lists"}