iro.js version 4.0.0 is a major rewrite of the core library which aims to solve numerous long-standing issues with the library. Most of these changes won't affect 99% of the core use-cases, but if needed, version 3.5.1 has been preserved in the v3 branch.
anticlockwiseoption has been removed, and is now hardcoded to
markerRadiusoption has been renamed as
To resolve an issue where Safari wasn't rendering the color picker properly because of certain client-side routing libraries, it was previously recommended to call
emit('history:statechange') on the color picker when navigating to new client-side routes. This has been deprecated in favour of the catch-all
forceUpdate() color picker method.
The following methods have been renamed:
The following methods have been removed:
The following color methods have been removed:
The Dynamic CSS feature and has become a seperate plugin; iro-dynamic-css.