Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: stack scroll out of bounds event #1465

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

m00n620
Copy link
Contributor

@m00n620 m00n620 commented Sep 12, 2024

Triggered STACK_SCROLL_OUT_OF_BOUNDS event in the scroll function of the stack viewport. Updated stackManipulationTools example to demonstrate the events trigger.

https://github.com/OHIF/OHIF-Office-Hours/blob/main/notes/2024-08-08.md - followed the guides in the answer here.

Copy link

netlify bot commented Sep 12, 2024

Deploy Preview for cornerstone-3d-docs ready!

Name Link
🔨 Latest commit ea4b2d8
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/66eae7668ae9e60008f0185b
😎 Deploy Preview https://deploy-preview-1465--cornerstone-3d-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

direction: delta,
};
triggerEvent(this.element, Events.STACK_SCROLL_OUT_OF_BOUNDS, eventData);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this makes sense, it is talking about a tool event inside the viewport, i think this should not happen here, but rather in the scroll() utilitiy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants