Closed rfru closed 8 years ago
All changes have been made. I also made an attempt at porting some of the current API functionality, namely the programmatic triggering of the ripple.
Let me know if I should start writing tests.
Would it be possible to write some tests for PaperClock
and PaperTween
?
Addressed comments and added tests. Please take a look.
Unfortunately, after some discussion with the team we have come to a consensus that the cost of a specialized paper-ripple-foreground
and paper-ripple-background
element is too high for an element with as much frequency as paper-ripple
. We need to adapt the design so that these are no longer represented as stand-alone Custom Elements.
This doesn't necessarily need to result in a traumatic change in the overall design. If we could represent the implementation for these elements as plain-old-JS classes - without using data-binding or other Polymer sugar, and the fewest number of extra DOM nodes possible - that might be sufficient.
Updated with converted foreground and background elements. Please take a look.
Friendly ping here :)
This implements the updated ripple spec, with support for unbounded ripples.