mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
23 lines
663 B
TypeScript
23 lines
663 B
TypeScript
import definition = require("ui/placeholder");
|
|
import common = require("./placeholder-common");
|
|
|
|
global.moduleMerge(common, exports);
|
|
|
|
export class Placeholder extends common.Placeholder {
|
|
private _android: android.view.View;
|
|
|
|
public _createUI() {
|
|
var args = <definition.CreateViewEventData>{ eventName: common.Placeholder.creatingViewEvent, object: this, view: undefined, context: this._context };
|
|
this.notify(args);
|
|
this._android = <android.view.View>args.view;
|
|
}
|
|
|
|
get android(): android.view.View {
|
|
return this._android;
|
|
}
|
|
|
|
get _nativeView(): android.view.View {
|
|
return this._android;
|
|
}
|
|
}
|