JoshDSommer / nativescript-ngx-shadow

Angular directive to apply shadows to native elements according to the elevation level guidelines of material design specification
Apache License 2.0
9 stars 6 forks source link

CSS friendly shadow #3

Closed edusperoni closed 6 years ago

edusperoni commented 6 years ago

Makes the shadow CSS friendly.

It is now possible to use Shadow and change the CSS midway.

Also made improvements to the StateListAnimator to allow it to be set to any view using any elevation / z translation (instead of the fixed 2 and 4).

Updated the demo to show off the new functionalities

edusperoni commented 6 years ago

@TheOriginalJosh I've tested it thoroughly, but I recommend you do the same in case I missed anything