angular/packages
arturovt c3115b882e fix(common): execute checks and remove placeholder when image is already loaded (#55444)
With this commit, we're now able to perform checks even when the image has already
been loaded (e.g., from the browser cache), and its `load` event would never be triggered.
We use the [complete](https://html.spec.whatwg.org/#dom-img-complete) property, as specified,
which indicates that the image state is fully available when the user agent has retrieved all
the image data. This approach effectively triggers checks, as we no longer solely rely on the
`load` event and consider that the image may already be loaded.

This will not remove the placeholder until the `load` event fires (and it won't fire if the
image is already "there").

This prevents memory leaks in development mode, as `load` and `error` event listeners are
still attached to the image element.

PR Close #55444
2024-09-26 14:12:00 -07:00
..
animations refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
bazel refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
benchpress refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
common fix(common): execute checks and remove placeholder when image is already loaded (#55444) 2024-09-26 14:12:00 -07:00
compiler refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
compiler-cli refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
core refactor(migrations): do not insert TODO for skipped inputs (#57957) 2024-09-25 10:04:24 -07:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
examples refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
forms refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
language-service refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
localize refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
misc/angular-in-memory-web-api refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
platform-browser refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
platform-browser-dynamic refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
platform-server refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
private/testing refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
router refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
service-worker refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
upgrade refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
zone.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
BUILD.bazel refactor(docs-infra): migrate api-gen from dev-infra into the repo (#57241) 2024-08-05 17:06:29 +00:00
circular-deps-test.conf.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
empty.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
goog.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
license-banner.txt build: update licence date. (#55129) 2024-04-08 11:31:12 -07:00
README.md docs: fix links to docs (#57391) 2024-08-19 09:20:15 -07:00
system.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig-build.json build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -07:00
tsconfig-legacy-saucelabs.json feat(core): support TypeScript 5.5 (#56096) 2024-05-29 15:33:33 +02:00
tsconfig-test.json build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
tsconfig-tsec-base.json refactor(core): throw an error when hydration marker is missing from DOM (#51170) 2023-08-04 11:31:49 -04:00
tsconfig.json feat(language-service): add code reactoring action to migrate @Input to signal-input (#57214) 2024-08-29 07:50:41 -07:00
tsec-exemption.json fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08:00
types.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT