jquery / jquery-color

jQuery plugin for color manipulation and animation support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Animating box-shadow property

pel-daniel opened this issue · comments

Hi, I would like to know if it's possible to animate the box-shadow property using a hook or by some other way.
I tried jQuery.hook('boxShadow') but it didn't work.
The box-shadow property has more values aside from the color, e.g. box-shadow: 3px 3px black.

Which jQuery version you're using @pel-daniel ?

I am using jquery 2.2.4 and jquery.color 2.1.2

hook method doesn't exist in that context,
You have to use JQuery.Color.hook.

Thanks for your response.
I tried using jQuery.Color.hook and doesn't work either. I checked in the browser console (I am using chrome) and the method does exist.

I created a jsfiddle so you can see what I'm doing https://jsfiddle.net/17tgjvju/3/

box-shadow's value is not a color hence using jQuery.Color.hook won't help.

I'm afraid this might be out of scope of the project. We welcome any ideas how to integrate support but otherwise I'm going to close this as "Won't fix" for now.