chore: until it is the official core i need to do it this way

This commit is contained in:
Martin Guillon
2021-08-11 13:44:06 +02:00
parent 5e11f0baf8
commit 4faca3a9bc

View File

@@ -9,8 +9,9 @@ export class LayoutBase extends LayoutBaseCommon {
return true;
}
[clipToBoundsProperty.setNative](value: boolean) {
(<any>this.nativeViewProtected).setClipToBounds(value);
if ((<any>this.nativeViewProtected).setClipToBounds) {
(<any>this.nativeViewProtected).setClipToBounds(value);
}
}
[isPassThroughParentEnabledProperty.setNative](value: boolean) {