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

Adding wrapping StackLayout to container. #5

Closed JoshDSommer closed 6 years ago

JoshDSommer commented 6 years ago

Because of how iOS view's work we need to wrap the container we want to add a shadow to and then apply the shadow to that wrapping view. This will allow us to apply border radiuses to our views when applying the shadow directive.

https://github.com/TheOriginalJosh/nativescript-ngx-shadow/issues/4