UNPKG

1.24 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 *
7 * @nsView ProxyViewContainer
8 */
9export declare class ProxyViewContainer extends LayoutBase {
10 private proxiedLayoutProperties;
11 constructor();
12 get ios(): any;
13 get android(): any;
14 get isLayoutRequested(): boolean;
15 createNativeView(): any;
16 _getNativeViewsCount(): number;
17 _eachLayoutView(callback: (View: any) => void): void;
18 _setupUI(context: any, atIndex?: number, parentIsLoaded?: boolean): void;
19 _tearDownUI(force?: boolean): void;
20 _addViewToNativeVisualTree(child: View, atIndex?: number): boolean;
21 _removeViewFromNativeVisualTree(child: View): void;
22 _registerLayoutChild(child: View): void;
23 _unregisterLayoutChild(child: View): void;
24 _parentChanged(oldParent: View): void;
25 /**
26 * Layout property changed, proxy the new value to the child view(s)
27 */
28 _changedLayoutProperty(propName: string, value: string): void;
29 /**
30 * Apply the layout property to the child view.
31 */
32 private _applyLayoutPropertyToChild;
33}