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
Thank you very much for this wonderful viewer,
I need to use in mobile, but i face some error;
Like;
Mobile stack scroll by swiping isn't functioning;
I tried modifying componentDidMount() function in DicomViewer.js file to apply swipe scroll
It scroll ok but but its enabled all the time.
Thank you very much for this wonderful viewer,
I need to use in mobile, but i face some error;
Like;
Mobile stack scroll by swiping isn't functioning;
I tried modifying componentDidMount() function in DicomViewer.js file to apply swipe scroll
It scroll ok but but its enabled all the time.
componentDidMount() { //console.log('dicomviewer - componentDidMount: ') this.props.runTool(this) this.props.changeTool(this) cornerstone.events.addEventListener('cornerstoneimageloaded', this.onImageLoaded) const { dcmRef } = this.props dcmRef(this) this.layoutIndex = this.props.index var asd=this; document.getElementById(
viewer-${this.props.index}).addEventListener("wheel", this.handlerMouseScroll) var elz = document.getElementById(
viewer-${this.props.index}`);var hammertime = Hammer(elz);
hammertime.get('swipe').set({ direction: Hammer.DIRECTION_ALL });
hammertime.on('swipe', function(ev) {
if(ev.direction===Hammer.DIRECTION_UP){
if (asd.shouldScroll) {
asd.props.listOpenFilesNextFrame();
}
Also choosing two vertical viewport "more suitable to mobile dimension" causes the upper toolbar to disappear.
And another question is there is a way to pass dicom files through url parameters like: ?url=""
The text was updated successfully, but these errors were encountered: