mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge branch 'ios-safe-area' of github.com:NativeScript/NativeScript into ios-safe-area
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import { LayoutBaseCommon, clipToBoundsProperty, View, layout } from "./layout-base-common";
|
||||
import { ios as iosUtils } from "../../utils/utils";
|
||||
import {
|
||||
LayoutBaseCommon, clipToBoundsProperty, isPassThroughParentEnabledProperty, View
|
||||
} from "./layout-base-common";
|
||||
|
||||
export * from "./layout-base-common";
|
||||
|
||||
const majorVersion = iosUtils.MajorVersion;
|
||||
|
||||
export class LayoutBase extends LayoutBaseCommon {
|
||||
nativeViewProtected: UIView;
|
||||
|
||||
@@ -37,4 +36,8 @@ export class LayoutBase extends LayoutBaseCommon {
|
||||
[clipToBoundsProperty.setNative](value: boolean) {
|
||||
this._setNativeClipToBounds();
|
||||
}
|
||||
|
||||
[isPassThroughParentEnabledProperty.setNative](value: boolean) {
|
||||
(<any>this.nativeViewProtected).setPassThroughParent(value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user