John Long
John Long

Reputation: 39

How to extract calendar from datepicker?

I've found custom and pretty neat datepicker that I would like to use as it seems very flexible to my requirements, however the only issue I am having is that usually all datepickers that I've seen are based on that you have to click for etc. on text field to open up the calendar.

Is there any simple way to extract just the calendar without having to click on the field? I've looked into its source code but did not find much. Anyone had the same "requirement"?

Image of datepciker

Upvotes: 1

Views: 80

Answers (1)

alexako
alexako

Reputation: 122

I suppose you could manually show the calendar so that it's already open once the page loads and also hide the input field.

Reference: https://github.com/720kb/angular-datepicker#manually-show-and-hide-datepicker

Upvotes: 1

Related Questions