IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,įITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR The above copyright notice and this permission notice shall be included inĪll copies or substantial portions of the Software. To use, copy, modify, merge, publish, distribute, sublicense, and/or sellĬopies of the Software, and to permit persons to whom the Software isįurnished to do so, subject to the following conditions: In the Software without restriction, including without limitation the rights iro.js is a sleek, HSV color based JavaScript color picker for generating a pretty, HTML5 canvas based color wheel UI with touch support. Of this software and associated documentation files (the "Software"), to deal
Permission is hereby granted, free of charge, to any person obtaining a copy
If you are looking for a lightweight (small filesize), easy to implement, universally usable JavaScript color picker, that is simple to skin the way you want it, Flexi Color Picker is the way to go. Revert() reverts the color to the one provided in the color prop LicenseĬopyright (c) 2020-2024 Md. MSIE 8 is out of the question, and MSIE 9 needs additional support scripts. WheelHidden: false if true the wheel is hidden, does not work with sliderHidden = true Instance methods UseNativeLayout: false to use instead of measureInWindow for x, y, width, height values for wheel and slider measurements which may be useful to prevent some layout problemsįlipTouchX: false flip touch positioning on X axis, might be useful in UI with RTL supportįlipTouchY: false flip touch positioning on Y axis, might be useful in UI with RTL support UseNativeDriver: false to use useNativeDriver for animations if possible
SliderLoadingIndicator: null slider image loading component eg: WheelLoadingIndicator: null wheel image loading component eg: Import callback function providing final color when user stops dragging slider/wheel