Releases: be-fe/iSlider
Releases · be-fe/iSlider
iSlider 2.0.3
iSlider 2.0.3
2015-11-02
Fix parameter error, opts is is no longer necessary.
iSlider 2.0.2
bug fixes
- Fix mouse buttons error on safari;
- Fix timer clean in destroy;
Something new
- Create event callback management mechanism, and "unbind", "undelegate" method;
- Cleanup delegate event when destruction;
iSlider 2.0.1
iSlider 2.0.1
2015-10-20
iSlider 2.0.1
2015-10-20
bug fixes
- fixPage default value
Something new
- [Plug-ins] dot support more optisons,
- locate - In which the container, values: 'absolute' or 'relative' or DOM, default is 'absolute'
- absolute: Same with iSlider
- relative: In iSlider
- Specified dom, eg: document.getElementById('xxx')
- locate - In which the container, values: 'absolute' or 'relative' or DOM, default is 'absolute'
2.0 release
iSlider 2.0
Optimization, bug fixes
- Original plug-in decoupling: dot, button, zoompic
- Script reference change, adding mode
- Remove configure options
- useZoom (move to plugins)
- Preload will work in all modes when the frame is automatically recognized as a picture.
Something new
-
Support scramble data
- Now you can choose any combination, put pictures, html string, elements, and even fragment, into the data list.
- Option "type" is unnecessary, when it is 'pic' will open the image globally pre-loaded, of course, you don't have to worry about the other type of list members:)
-
Event registration mechanism added
- Use "on"/"off" methods to manage events.
- Now you can register event after the initialization, and they can be deleted.
-
Plug-registration mechanism added. (support original/hot registration)
-
Support for new event types
- slideChanged
- slideRestore
- slideRestored
-
Supported parameters methods
Now, slideTo, slideNext, slidePrev support the second parmater ({Object}) for custom temporary
- animateTime
- animateType
-
Configurable options
- plugins: enable plugin
- animateTime: animation process time
- animateEasing: support linear, ease, ease-in, ease-out, ease-in-out and custom cubic-bezier()
-
Callback parameter specification
-
Hold and Lock. add 4 mothods "hold", "unhold", "lock", "unlock"
- hold - disable touch events, except for the native method.
- unhole - release current scene, and unlock at same time
- lock - lock native method calls, you can't do anything on this scene, and hold at same time
- unlock - unlock native method calls
priority
- hold << lock(hold)
- unhold(unlock) >> unlock
-
Jumpy reader scene more smoother
Fix fixPage bugs
- fix fixPage bug, you can use fixPage option to preventDefault touchstart
Fix some bugs & bower dependence
Merge pull request #230 from xieyu33333/master bower dependence
Depend <a> link wrap your content
- You can use
[{ content: '<a href='http://www.baidu.com'><div> ......</div></a>' }]
, when you tap the target wraped by , it will redirect to new website.
Need not image size in data
- You don't need to pass image size in data when you use image type
- You can choose fixPage to preventDefault when on touchstart, It is true default
Add img zoom & AMD precompile & destroy method & compatible scroll
- you can config
{useZoom: true}
to let img zoomIn & zoomOut. - you can use islider_core.js or custom compile plugins using the gulp tool.
- you can use destroy method to destory islider when you won't need it.
- islider can compatible origin overflow & iscroll.
Add imgs preload & scroll support & event bind
- Add image preload, load one more image when slideChange and renderHTML.
- Add scroll support, you can use origin scroll or iscroll in iSlider
- Add tap event, avoid click 300ms delay
- Add simple event bind, you can easy bind events without jQuery
Add animation types and desktop support
- increased animation type , including(default, rotate, flip, depth, flow)
- fixed interval looping bug (when window blur)
- added overspread mode
- added desktop support
- optimized the code style