import * as React from 'react'; import JqxSlider from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxslider'; class App extends React.PureComponent<{}, {}> { private mySlider = React.createRef(); constructor(props: {}) { super(props); } public componentDidMount() { this.mySlider.current!.focus(); } public render() { return (
  • Tab - Like other widgets, the jqxSlider widget receives focus by tabbing into it. Once focus is received, users will be able to use the keyboard to change the slider's value. A second tab will take the user out of the widget.
  • Shift+Tab - reverses the direction of the tab order. Once in the widget, a Shift+Tab will take the user to the previous focusable element in the tab order.
  • Right Arrow and Up Arrow - increase the value of the slider.
  • Left Arrow and Down Arrow - decrease the value of the slider.
  • Home - move to the minimum value of the slider.
  • End - move to the maximum value of the slider.
); } } export default App;