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

Slider component doc #384

Open
wants to merge 6 commits into
base: website
Choose a base branch
from
Open

Slider component doc #384

wants to merge 6 commits into from

Conversation

laurenic0l
Copy link
Contributor

Closes #365
Demos included in webforj/webforj-docs-samples#121

- Added new demos
- Included section on tooltips when sliding
slider.setSnapToTicks(true); // Enable snapping
```

Here’s an example of a fully configured `Slider` showing major and minor tick settings along with snapping functionality for precise adjustments:
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [vale] reported by reviewdog 🐶
[Google.WordList] Use 'capability' or 'feature' instead of 'functionality'.


The minimum and maximum values define the allowable range of the `Slider`, determining the boundaries within which the `Slider` knob can move. By default, the range is set from 0 to 100, but you can customize these values to suit your needs.

The intervals on the Slider have a default step of 1, meaning the number of intervals is determined by the range. For example:
Copy link
Member

Choose a reason for hiding this comment

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

Please surround this in ` characters

## Parts and CSS properties

<TableBuilder tag={require('@site/docs/components/_dwc_control_map.json').Slider} />
Copy link
Contributor

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[Google.Parens] Use parentheses judiciously.

@MatthewHawkins
Copy link
Member

@hyyan Ready for your review :)

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

Successfully merging this pull request may close these issues.

Document slider component
2 participants