{"id":18320850,"url":"https://github.com/bazaarvoice/bv-ui-pixels-displayed","last_synced_at":"2025-04-09T14:29:48.614Z","repository":{"id":27306642,"uuid":"30780715","full_name":"bazaarvoice/bv-ui-pixels-displayed","owner":"bazaarvoice","description":"A module for detecting whether an element is visible.","archived":false,"fork":false,"pushed_at":"2015-12-08T16:49:00.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-01-23T09:10:00.693Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bazaarvoice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-13T23:24:28.000Z","updated_at":"2018-02-13T21:45:19.000Z","dependencies_parsed_at":"2022-07-24T14:47:01.150Z","dependency_job_id":null,"html_url":"https://github.com/bazaarvoice/bv-ui-pixels-displayed","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazaarvoice%2Fbv-ui-pixels-displayed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazaarvoice%2Fbv-ui-pixels-displayed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazaarvoice%2Fbv-ui-pixels-displayed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazaarvoice%2Fbv-ui-pixels-displayed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bazaarvoice","download_url":"https://codeload.github.com/bazaarvoice/bv-ui-pixels-displayed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238966521,"owners_count":19560364,"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-11-05T18:17:38.912Z","updated_at":"2025-02-15T08:28:21.587Z","avatar_url":"https://github.com/bazaarvoice.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bv-ui-pixels-displayed\n\n[![NPM version][npm-image]][npm-url]\n\n[![Build Status][travis-image]][travis-url]\n\n[![Dependency Status][daviddm-url]][daviddm-image]\n\n\u003e A module for detecting whether an element is visible.\n\n:warning: This functionality has been added to [bv-ui-core](https://github.com/bazaarvoice/bv-ui-core) and all further improvements/changes will be carried out in [bv-ui-core](https://github.com/bazaarvoice/bv-ui-core) repository.\n\nPlease consider using bv-ui-core version *0.6.0* or later.\n\n## Install\n\n```sh\n$ npm install --save bv-ui-pixels-displayed\n```\n\n## Usage\n\n```js\nvar bvUIPixelsDisplayed = require('bv-ui-pixels-displayed');\nvar pixelsDisplayed = bvUIPixelsDisplayed(window, document);\n\nif (pixelsDisplayed(element) \u003e 0) {\n  // element is visible\n}\n```\n\n## License\n\nMIT © [Bazaarvoice](http://bazaarvoice.com)\n\n\n[npm-url]: https://npmjs.org/package/bv-ui-pixels-displayed\n[npm-image]: https://badge.fury.io/js/bv-ui-pixels-displayed.svg\n[travis-url]: https://travis-ci.org/bazaarvoice/bv-ui-pixels-displayed\n[travis-image]: https://travis-ci.org/bazaarvoice/bv-ui-pixels-displayed.svg?branch=master\n[daviddm-url]: https://david-dm.org/bazaarvoice/bv-ui-pixels-displayed.svg?theme=shields.io\n[daviddm-image]: https://david-dm.org/bazaarvoice/bv-ui-pixels-displayed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazaarvoice%2Fbv-ui-pixels-displayed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbazaarvoice%2Fbv-ui-pixels-displayed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazaarvoice%2Fbv-ui-pixels-displayed/lists"}