-
Notifications
You must be signed in to change notification settings - Fork 39
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
website: Update tooltip documentation & demos #1205
Conversation
idakukimiya
commented
Apr 12, 2023
- Update documentation
- Remove placeholder
…iTwinUI into ida-documentation-tooltip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good now Oops lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry my bad. I think the format is supposed to be description/comments and then example below, not example and then description. I misread the descriptions so I didn't catch this before. Sorry :x
<LiveExample src='Slider.tooltipnone.tsx'> | ||
<AllExamples.SliderTooltipNoneExample client:load /> | ||
</LiveExample> | ||
|
||
Tooltips are enabled by default but can be turned off. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you meant to group the demo for "tooltip in Slider" and "tooltips can be disabled" into one example here but that would be a little confusing. Maybe we can separate it? So normal slider with tooltip belong to the first group of examples. And then another slider without tooltip to demonstrate that tooltips can be disabled. I'm not too sure, maybe we can have a second opinion on this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally I think these stepper and slider examples don't even belong on this page. Just links to those specific examples in their own pages should be enough.
Co-authored-by: Greta <[email protected]>
Co-authored-by: LostABike <[email protected]>
Co-authored-by: LostABike <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple more comments and should be good to go.
<AllExamples.TooltipPlacementExample client:load /> | ||
</LiveExample> | ||
|
||
- `left` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove placement list. It's a bit out of place and not fully correct.