responsive

data-easing

  • Available since: v1.2
  • Type: attribute
  • Data type: String
  • Default value: 'swing'

Easing function used for animation. jQuery library offers only two functions - 'swing' and 'linear' but you can use jQuery easing plugin to extend list of the functions. This plugin is included in all provided demos.

Dependencies

The described attribute can be used only if one of the below listed groups of attributes or combination of them was set.

  • data-initEvent
  • data-fade - with value true

or

  • data-initEvent
  • data-moveDirection
  • data-offset
  • animated element has to be absolutely or relatively positioned

Demo 1

Demo 1 demonstrates usage of described attribute.

Loading content...

Easing method - easeOutBounce

t

l

c

r

b

slide1

Easing method - easeOutBack

t

l

c

r

b

slide2

Easing method - easeOutElastic

t

l

c

r

b

slide4

Easing method - linear

t

l

c

r

b

slide5

jAccordion by maniacpc, exclusively for CodeCanyon