Skip to content

Commit

Permalink
fix: rename loaded event of ESLImage to the load event (from spec)
Browse files Browse the repository at this point in the history
  • Loading branch information
ala-n committed Feb 1, 2021
1 parent 9b7548f commit 23ecb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/esl-image/core/esl-image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export class ESLImage extends ESLBaseElement {
this.toggleAttribute('loaded', successful);
this.toggleAttribute('error', !successful);
this.toggleAttribute('ready', true);
this.$$fire(successful ? 'loaded' : 'error');
this.$$fire(successful ? 'load' : 'error');
this.$$fire('ready');
}

Expand Down

0 comments on commit 23ecb84

Please sign in to comment.