Missing
...
The functions of the initialization component: click to view the picture; click the adaptive function; click the close function; API init, setOption, open, close of the plugin.
- Add the function of switching themes; modify the problem that the
nextandpreviousbuttons are too large when accessed on the mobile phone;
- Fix the wrong logic of the next function caused by adding the same file
- The following code has been refactored with the Class class, and the base64 image cache scheme has been added to prevent repeated requests for the same image.
- Added property
data-src, added methodSetTitleandThemeSwitch, renamed method,SetOption,Open,Close.
- In order to ensure the compatibility of older browsers, the ES6 code was changed to the ES5 code.
- Eliminate ES6
?.optional chain
- Disable the cache of
svgimages, and set the relevant configuration of svg cachesvgCache(this field is incorrect, temporarily invalid, wait for the next version to modify and push), and disable it by default - Added
typescriptsupport to preventtypescriptitems from being type-incorrect.
- Open
svgCachefield, compressiconBase64
- Error in
splitmethod caused by incorrect modification ofinStrparameter type