DatePicker

Using a DatePicker requires the "ui/date-picker" module.

import * as datePickerModule from "tns-core-modules/ui/date-picker";

Configuring a DatePicker

datePicker.year = 1980;
datePicker.month = 2;
datePicker.day = 9;
datePicker.minDate = new Date(1975, 0, 29);
datePicker.maxDate = new Date(2045, 4, 12);

Stay connected with NativeScript

(expect a newsletter every 4-8 weeks)

NativeScript
NativeScript is licensed under the Apache 2.0 license .
© Progress Software Corporation. All Rights Reserved.