Skip to content

Releases: be-fe/iSlider

iSlider 2.0.3

05 Nov 08:19
Compare
Choose a tag to compare

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

20 Oct 04:38
Compare
Choose a tag to compare

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')

2.0 release

14 Oct 03:36
Compare
Choose a tag to compare

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

18 Aug 02:24
Compare
Choose a tag to compare
  • fix fixPage bug, you can use fixPage option to preventDefault touchstart

Fix some bugs & bower dependence

24 Jun 06:14
Compare
Choose a tag to compare
Merge pull request #230 from xieyu33333/master

bower dependence

Depend <a> link wrap your content

16 Mar 12:30
Compare
Choose a tag to compare
  • 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

14 Mar 17:34
Compare
Choose a tag to compare
  • 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

25 Jan 06:26
Compare
Choose a tag to compare
  • 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

02 Dec 08:34
Compare
Choose a tag to compare
  • 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

17 Nov 13:24
Compare
Choose a tag to compare
  • 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