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: slider component support vertical prop #356

Merged
merged 6 commits into from
Dec 6, 2023
Merged

feat: slider component support vertical prop #356

merged 6 commits into from
Dec 6, 2023

Conversation

pkc918
Copy link
Member

@pkc918 pkc918 commented Dec 4, 2023

No description provided.

Copy link

netlify bot commented Dec 4, 2023

Deploy Preview for ikun-ui ready!

Name Link
🔨 Latest commit 0eb9ba6
🔍 Latest deploy log https://app.netlify.com/sites/ikun-ui/deploys/656fce805a8fd30008761201
😎 Deploy Preview https://deploy-preview-356--ikun-ui.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.

docs/example/slider/vertical.svelte Show resolved Hide resolved
newPercent = vertical
? ((sliderOffsetBottom - clientY) / sliderSize) * 100
: ((clientX - sliderOffsetLeft) / sliderSize) * 100;
console.log(((sliderOffsetBottom - clientY) / sliderSize) * 100);
Copy link
Member

Choose a reason for hiding this comment

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

I think this log is unnecessary.

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah,I forgot to delete

@baiwusanyu-c baiwusanyu-c merged commit 14292ed into ikun-svelte:main Dec 6, 2023
7 checks passed
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.

None yet

2 participants