Is it possibe to Swipe a feature/graphics layer using javascript API?

Discussion created by pkroy2k4 on Sep 12, 2013
Latest reply on Sep 12, 2013 by MDriscoll-esristaff
Hi All,
Is is possible to swipe a feature/graphics layer using javascript API.
I am doing the same on Tiled and Dynamic layers. By clipping the style of _div of the layer.

var clipstring = "rect(" + topval + "px " + rightval + "px " + bottomval + "px " + leftval + "px)"; = clipstring;

Here swipediv is the _div of the layer on which swipe tool is supposed to work.

I don't find any style property for the _div of feture/ graphics layer.

Any help on this would be highly appreciated.

Pankaj Roy