mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
test(image-loader): assert e.detail
is null
This commit is contained in:
parent
6fbbf5eb11
commit
2de9b939c6
1 changed files with 6 additions and 2 deletions
|
@ -13,6 +13,10 @@
|
||||||
fadeIn
|
fadeIn
|
||||||
ratio="16x9"
|
ratio="16x9"
|
||||||
src=""
|
src=""
|
||||||
on:load="{() => {}}"
|
on:load="{(e) => {
|
||||||
on:error="{() => {}}"
|
console.log(e.detail); // null
|
||||||
|
}}"
|
||||||
|
on:error="{(e) => {
|
||||||
|
console.log(e.detail); // null
|
||||||
|
}}"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue