import * as React from 'react'; import JqxNumberInput from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxnumberinput'; import JqxPanel from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxpanel'; class App extends React.PureComponent<{}> { private events = React.createRef(); constructor(props: {}) { super(props); this.onChange = this.onChange.bind(this); } public render() { return (
Number
Events:
); } private onChange(event: any): void { const value = event.args.value; this.events.current!.clearcontent(); this.events.current!.prepend('
Value: ' + value + '
'); }; } export default App;