You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why listening cornerstoneimageloadprogress events, the callback function parameters of the event. The detail of the toal and percentComplete for undefined
#499
Open
zhengdechang1 opened this issue
Dec 15, 2022
· 0 comments
Why listening cornerstoneimageloadprogress events, the callback function parameters of the event. The detail of the toal and percentComplete for undefined
Why listening cornerstoneimageloadprogress events, the callback function parameters of the event. The detail of the toal and percentComplete for undefined
my code
//cacha image
cornerState.leftStack.imageIds.map((imageId, index) =>
cornerstone.loadAndCacheImage(imageId).then((res) => {
// console.log(res, index)
})
)
// addEventListener
cornerstone.events.addEventListener(
'cornerstoneimageloadprogress',
function (event) {
const eventData = event.detail
console.log(eventData, 'eventData: ')
}
)
//result
The text was updated successfully, but these errors were encountered: