Files
NativeScript/ui/placeholder/placeholder.ios.ts
2015-09-30 11:26:42 +03:00

22 lines
604 B
TypeScript

import definition = require("ui/placeholder");
import common = require("./placeholder-common");
global.moduleMerge(common, exports);
export class Placeholder extends common.Placeholder {
private _ios: UIView;
get ios(): UIView {
if (!this._ios) {
var args = <definition.CreateViewEventData>{ eventName: common.Placeholder.creatingViewEvent, object: this, view: undefined, context: undefined };
super.notify(args);
this._ios = args.view;
}
return this._ios;
}
get _nativeView(): UIView {
return this.ios;
}
}