UNPKG

1.09 kBTypeScriptView Raw
1import { View } from '../core/view';
2import { LayoutBase } from '../layouts/layout-base';
3/**
4 * Proxy view container that adds all its native children directly to the parent.
5 * To be used as a logical grouping container of views.
6 */
7export declare class ProxyViewContainer extends LayoutBase {
8 private proxiedLayoutProperties;
9 constructor();
10 get ios(): any;
11 get android(): any;
12 get isLayoutRequested(): boolean;
13 createNativeView(): any;
14 _getNativeViewsCount(): number;
15 _eachLayoutView(callback: (View: any) => void): void;
16 _addViewToNativeVisualTree(child: View, atIndex?: number): boolean;
17 _removeViewFromNativeVisualTree(child: View): void;
18 _registerLayoutChild(child: View): void;
19 _unregisterLayoutChild(child: View): void;
20 _parentChanged(oldParent: View): void;
21 /**
22 * Layout property changed, proxy the new value to the child view(s)
23 */
24 _changedLayoutProperty(propName: string, value: string): void;
25 /**
26 * Apply the layout property to the child view.
27 */
28 private _applyLayoutPropertyToChild;
29}