MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / constructor

Method constructor

packages/core/ui/time-picker/index.ios.ts:27–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 private _changeHandler: NSObject;
26
27 constructor() {
28 super();
29 const components = getComponents(NSDate.date());
30 this.hour = components.hour;
31 this.minute = components.minute;
32 }
33
34 createNativeView() {
35 const picker = UIDatePicker.new();

Callers

nothing calls this directly

Calls 1

getComponentsFunction · 0.85

Tested by

no test coverage detected