mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
definitions fixed
This commit is contained in:
26
ui/content-view/content-view.d.ts
vendored
Normal file
26
ui/content-view/content-view.d.ts
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
declare module "ui/content-view" {
|
||||
import view = require("ui/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.
|
||||
*/
|
||||
class ContentView extends view.View {
|
||||
/**
|
||||
* Gets or sets the single child of the view.
|
||||
*/
|
||||
content: view.View;
|
||||
|
||||
//@private
|
||||
/**
|
||||
* Called when the content property has changed.
|
||||
* @param oldView The previous content.
|
||||
* @param newView The new content.
|
||||
*/
|
||||
_onContentChanged(oldView: view.View, newView: view.View);
|
||||
//@endprivate
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user