MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / clearBoxShadow

Function clearBoxShadow

packages/core/ui/styling/background.ios.ts:1169–1174  ·  view source on GitHub ↗
(nativeView: NativeScriptUIView)

Source from the content-addressed store, hash-verified

1167}
1168
1169function clearBoxShadow(nativeView: NativeScriptUIView) {
1170 if (nativeView.outerShadowContainerLayer) {
1171 nativeView.outerShadowContainerLayer.removeFromSuperlayer();
1172 nativeView.outerShadowContainerLayer = null;
1173 }
1174}
1175
1176/**
1177 * Creates a mask that ensures no shadow will be displayed underneath transparent backgrounds.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected