A lightweight, accessible and customizable javascript time picker widget. With startTime and endTime appointments below and above can be visually removed. If startTime is greater than minTime a lower time can still be manually set via the keyboard. On the other hand the picker does not accept lower hours than minTime and higher than maxTime. Manually entered times outside of the defined bounds will be rejected by the picker, no extra validation is therefore needed. Entering an empty string into the input resets the time. Appointment Picker can be easily integrated into a React component. Simply import the node module and use React.createRef() to pass the DOM element when calling new AppointmentPicker.
Features
- No dependencies
- Tiny (6KB minified, 2KB gzipped)
- Only the listed times can be picked or entered, no validation necessary
- Demo and Examples
- The appointment-picker can be configured with options
- Initialize the picker using the new keyword
Categories
SchedulingLicense
MIT LicenseFollow Appointment Picker
Other Useful Business Software
Build Securely on AWS with Proven Frameworks
Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Appointment Picker!