mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
parent
1cd0eb83d2
commit
6d56dc332c
1 changed files with 2 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ Use the image URL provided in the console warning to find the `<img>` element in
|
|||
### Disabling Image Performance Warnings
|
||||
Both warnings can be disabled individually, site-wide, using a provider at the root of your application:
|
||||
|
||||
<code-example format="typescript" language="typescript">
|
||||
```typescript
|
||||
providers: [
|
||||
{
|
||||
provide: IMAGE_CONFIG,
|
||||
|
|
@ -30,5 +30,4 @@ providers: [
|
|||
}
|
||||
},
|
||||
],
|
||||
</code-example>
|
||||
|
||||
```
|
||||
Loading…
Reference in a new issue