Files
NativeScript/ui/layouts/layout-base.ios.ts
Rossen Hristov 54c65e94d7 Split layout-base to iOS and Android files
clipToBounds for a single view can't be implemented in Android in a straightforward manner

Resolves #1829
2016-04-28 17:35:06 +03:00

9 lines
283 B
TypeScript

import common = require("./layout-base-common");
export class LayoutBase extends common.LayoutBase {
public _onClipToBoundsChanged(oldValue: boolean, newValue: boolean) {
if (this._nativeView) {
this._nativeView.clipsToBounds = newValue;
}
}
}