Files
NativeScript/tns-core-modules/ui/content-view/content-view.d.ts
Panayot Cankov d098ff43f5 Add module names for the typedoc, make it work
Mark members with @private for typedoc.
2017-04-20 16:58:30 +03:00

35 lines
857 B
TypeScript

/**
* @module "ui/content-view"
*
* View that can host another view.
*/ /** */
import { View, AddChildFromBuilder } from "../core/view";
export * from "../core/view";
/**
* 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 View implements AddChildFromBuilder {
/**
* Gets or sets the single child of the view.
*/
content: View;
//@private
/**
* Called when the content property has changed.
* @private
* @param oldView The previous content.
* @param newView The new content.
*/
_onContentChanged(oldView: View, newView: View);
//@endprivate
_addChildFromBuilder(name: string, value: any): void;
layoutView: View;
}