mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 05:18:39 +08:00

clipToBounds for a single view can't be implemented in Android in a straightforward manner Resolves #1829
9 lines
283 B
TypeScript
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;
|
|
}
|
|
}
|
|
} |