mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup
This commit is contained in:
7
nativescript-core/ui/content-view/index.d.ts
vendored
Normal file
7
nativescript-core/ui/content-view/index.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { View, CustomLayoutView, AddChildFromBuilder } from '../core/view';
|
||||
|
||||
export declare class ContentView extends CustomLayoutView implements AddChildFromBuilder {
|
||||
content: View;
|
||||
layoutView(): View;
|
||||
_addChildFromBuilder(name: string, value: any): void;
|
||||
}
|
||||
@@ -1,13 +1,12 @@
|
||||
import { View, CustomLayoutView, AddChildFromBuilder } from '../core/view';
|
||||
import { layout } from '../../utils';
|
||||
import { isIOS } from '../../platform';
|
||||
import { ContentView as ContentViewDefinition } from '.';
|
||||
|
||||
/**
|
||||
* Represents a View that has a single child - content.
|
||||
* The View itself does not have visual representation and serves as a placeholder for its content in the logical tree.
|
||||
*/
|
||||
export class ContentView extends CustomLayoutView implements ContentViewDefinition, AddChildFromBuilder {
|
||||
export class ContentView extends CustomLayoutView implements AddChildFromBuilder {
|
||||
private _content: View;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user