jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
30 lines (26 loc) • 1.55 kB
JavaScript
import React from 'react';
import ReactDOM from 'react-dom';
import JqxFormattedInput from '../../../jqwidgets-react/react_jqxformattedinput.js';
class App extends React.Component {
render() {
return (
<div>
<JqxFormattedInput style={{ float: 'left' }}
width={250} height={25} radix={'hexadecimal'}
value={'a1'} spinButtons={false} dropDown={true}
/>
<div style={{ fontFamily: 'Verdana', fontSize: 12, width: 400, marginLeft: 20, float: 'left' }}>
<ul>
<li><b>Tab</b> - Like other widgets, the jqxFormattedInput widget receives focus by tabbing into it. Once focus is received, users will be able to use the keyboard to change the selection. A second tab will take the user out of the widget.</li>
<li><b>Shift+Tab</b> - 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.</li>
<li><b>Up/Down</b> arrow keys - select previous or next displayFormat option.</li>
<li><b>Alt Up/Down</b> arrow keys - opens or closes the popup.</li>
<li><b>Esc</b> - closes the popup.</li>
<li><b>Enter</b> - selects an item.</li>
</ul>
</div>
</div>
)
}
}
ReactDOM.render(<App />, document.getElementById('app'));