How to find out what data type Calendar returns?

UI Components for Vue
Post Reply
tron326
Posts: 3
Joined: 16 Feb 2023, 14:16

16 Feb 2023, 14:22

I am wondering if you bind a variable with Calendar then does it automatically return a string or a Date object?

In the documentation there is also:
modelValue any null Value of the component.

What is that?

In general is there a way to find out what datatypes a component provide to the variables you bind with it? I tried to look deeper in the dependencies of Calendar but was not sure what to look for.

tron326
Posts: 3
Joined: 16 Feb 2023, 14:16

20 Feb 2023, 18:38

nothing?

bahadirsofuoglu
Posts: 84
Joined: 06 Sep 2022, 08:59

09 Mar 2023, 12:28

Hi,
Now our API document is generated with types. I hope our new document will be more helpful. If you think a type is missing, you can open an issue on GitHub.
https://primevue.org/calendar/#api.cale ... modelValue

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests