├── .editorconfig ├── .eslintrc.js ├── .github ├── CODEOWNERS ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── ci.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── angular.json ├── commitlint.config.js ├── package.json ├── prettier.config.js ├── projects ├── demo │ ├── .gitignore │ ├── angular.json │ ├── karma.conf.js │ ├── package.json │ ├── server.ts │ ├── src │ │ ├── app │ │ │ ├── app.browser.module.ts │ │ │ ├── app.component.html │ │ │ ├── app.component.less │ │ │ ├── app.component.ts │ │ │ ├── app.routes.ts │ │ │ └── app.server.module.ts │ │ ├── assets │ │ │ ├── android-chrome-192x192.png │ │ │ ├── android-chrome-512x512.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── browserconfig.xml │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon.ico │ │ │ ├── logo.svg │ │ │ ├── mstile-144x144.png │ │ │ ├── mstile-150x150.png │ │ │ ├── mstile-310x150.png │ │ │ ├── mstile-310x310.png │ │ │ ├── mstile-70x70.png │ │ │ ├── safari-pinned-tab.svg │ │ │ ├── site.webmanifest │ │ │ └── web-api.svg │ │ ├── index.html │ │ ├── main.browser.ts │ │ ├── main.server.ts │ │ ├── polyfills.ts │ │ ├── styles.css │ │ └── typings.d.ts │ ├── tsconfig.demo.json │ ├── tsconfig.json │ ├── tsconfig.server.json │ └── tsconfig.spec.json └── intersection-observer │ ├── LICENSE │ ├── karma.conf.js │ ├── ng-package.json │ ├── package.json │ ├── src │ ├── directives │ │ ├── intersection-observee.directive.ts │ │ ├── intersection-observer.directive.ts │ │ ├── intersection-root.directive.ts │ │ └── tests │ │ │ └── intersection-observee.spec.ts │ ├── module.ts │ ├── public-api.ts │ ├── services │ │ ├── intersection-observee.service.ts │ │ ├── intersection-observer.service.ts │ │ └── tests │ │ │ └── intersection-observer.service.spec.ts │ ├── test.ts │ ├── tokens │ │ ├── intersection-root-margin.ts │ │ ├── intersection-root.ts │ │ ├── intersection-threshold.ts │ │ ├── support.ts │ │ └── tests │ │ │ └── support.spec.ts │ └── utils │ │ ├── root-margin-factory.ts │ │ └── threshold-factory.ts │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── scripts ├── postbuild.js └── syncVersions.js ├── tsconfig.eslint.json └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # shellcheck disable=SC1090 3 | . "$(dirname "$0")/_/husky.sh" 4 | 5 | npx commitlint --edit $1 6 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/README.md -------------------------------------------------------------------------------- /angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/angular.json -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = {extends: ['@commitlint/config-conventional']}; 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/package.json -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/prettier.config.js -------------------------------------------------------------------------------- /projects/demo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/.gitignore -------------------------------------------------------------------------------- /projects/demo/angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/angular.json -------------------------------------------------------------------------------- /projects/demo/karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/karma.conf.js -------------------------------------------------------------------------------- /projects/demo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/package.json -------------------------------------------------------------------------------- /projects/demo/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/server.ts -------------------------------------------------------------------------------- /projects/demo/src/app/app.browser.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/app/app.browser.module.ts -------------------------------------------------------------------------------- /projects/demo/src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/app/app.component.html -------------------------------------------------------------------------------- /projects/demo/src/app/app.component.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/app/app.component.less -------------------------------------------------------------------------------- /projects/demo/src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/app/app.component.ts -------------------------------------------------------------------------------- /projects/demo/src/app/app.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/app/app.routes.ts -------------------------------------------------------------------------------- /projects/demo/src/app/app.server.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/app/app.server.module.ts -------------------------------------------------------------------------------- /projects/demo/src/assets/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/android-chrome-192x192.png -------------------------------------------------------------------------------- /projects/demo/src/assets/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/android-chrome-512x512.png -------------------------------------------------------------------------------- /projects/demo/src/assets/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/apple-touch-icon.png -------------------------------------------------------------------------------- /projects/demo/src/assets/browserconfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/browserconfig.xml -------------------------------------------------------------------------------- /projects/demo/src/assets/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/favicon-16x16.png -------------------------------------------------------------------------------- /projects/demo/src/assets/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/favicon-32x32.png -------------------------------------------------------------------------------- /projects/demo/src/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/favicon.ico -------------------------------------------------------------------------------- /projects/demo/src/assets/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/logo.svg -------------------------------------------------------------------------------- /projects/demo/src/assets/mstile-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/mstile-144x144.png -------------------------------------------------------------------------------- /projects/demo/src/assets/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/mstile-150x150.png -------------------------------------------------------------------------------- /projects/demo/src/assets/mstile-310x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/mstile-310x150.png -------------------------------------------------------------------------------- /projects/demo/src/assets/mstile-310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/mstile-310x310.png -------------------------------------------------------------------------------- /projects/demo/src/assets/mstile-70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/mstile-70x70.png -------------------------------------------------------------------------------- /projects/demo/src/assets/safari-pinned-tab.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/safari-pinned-tab.svg -------------------------------------------------------------------------------- /projects/demo/src/assets/site.webmanifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/site.webmanifest -------------------------------------------------------------------------------- /projects/demo/src/assets/web-api.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/assets/web-api.svg -------------------------------------------------------------------------------- /projects/demo/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/index.html -------------------------------------------------------------------------------- /projects/demo/src/main.browser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/main.browser.ts -------------------------------------------------------------------------------- /projects/demo/src/main.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/main.server.ts -------------------------------------------------------------------------------- /projects/demo/src/polyfills.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/polyfills.ts -------------------------------------------------------------------------------- /projects/demo/src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/src/styles.css -------------------------------------------------------------------------------- /projects/demo/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*'; 2 | -------------------------------------------------------------------------------- /projects/demo/tsconfig.demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/tsconfig.demo.json -------------------------------------------------------------------------------- /projects/demo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/tsconfig.json -------------------------------------------------------------------------------- /projects/demo/tsconfig.server.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/tsconfig.server.json -------------------------------------------------------------------------------- /projects/demo/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/demo/tsconfig.spec.json -------------------------------------------------------------------------------- /projects/intersection-observer/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/LICENSE -------------------------------------------------------------------------------- /projects/intersection-observer/karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/karma.conf.js -------------------------------------------------------------------------------- /projects/intersection-observer/ng-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/ng-package.json -------------------------------------------------------------------------------- /projects/intersection-observer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/package.json -------------------------------------------------------------------------------- /projects/intersection-observer/src/directives/intersection-observee.directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/directives/intersection-observee.directive.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/directives/intersection-observer.directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/directives/intersection-observer.directive.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/directives/intersection-root.directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/directives/intersection-root.directive.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/directives/tests/intersection-observee.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/directives/tests/intersection-observee.spec.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/module.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/public-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/public-api.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/services/intersection-observee.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/services/intersection-observee.service.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/services/intersection-observer.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/services/intersection-observer.service.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/services/tests/intersection-observer.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/services/tests/intersection-observer.service.spec.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/test.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/tokens/intersection-root-margin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/tokens/intersection-root-margin.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/tokens/intersection-root.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/tokens/intersection-root.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/tokens/intersection-threshold.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/tokens/intersection-threshold.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/tokens/support.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/tokens/support.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/tokens/tests/support.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/tokens/tests/support.spec.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/utils/root-margin-factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/utils/root-margin-factory.ts -------------------------------------------------------------------------------- /projects/intersection-observer/src/utils/threshold-factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/src/utils/threshold-factory.ts -------------------------------------------------------------------------------- /projects/intersection-observer/tsconfig.lib.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/tsconfig.lib.json -------------------------------------------------------------------------------- /projects/intersection-observer/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/projects/intersection-observer/tsconfig.spec.json -------------------------------------------------------------------------------- /scripts/postbuild.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/scripts/postbuild.js -------------------------------------------------------------------------------- /scripts/syncVersions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/scripts/syncVersions.js -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ng-web-apis/intersection-observer/HEAD/tsconfig.json --------------------------------------------------------------------------------