We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ViewChild
1 parent 1b520be commit 710eb1fCopy full SHA for 710eb1f
app/ng-ui-category/modal-view-ng/sample-modal-view-module-example/modal-view.ts
@@ -9,7 +9,7 @@ import { DatePicker } from "tns-core-modules/ui/date-picker";
9
})
10
export class ModalViewComponent implements OnInit {
11
public currentdate: Date;
12
- @ViewChild("datepicker", { read: ElementRef, static: false }) datePickerElement: ElementRef;
+ @ViewChild("datepicker", { read: ElementRef, static: true }) datePickerElement: ElementRef;
13
14
constructor(private params: ModalDialogParams) {
15
this.currentdate = new Date(params.context);
0 commit comments