Twipped / Kalendae

A javascript date picker that just works.
MIT License
1.99k stars 285 forks source link

Obtaining Kalendae object of instance created via class auto-kal #102

Closed wehadfun closed 8 years ago

wehadfun commented 11 years ago

If you use the code at the beginning of the readme

to create a Kalendae how would you find out what the selected date is or add an event handler to it.

Is there some way to get the Kalendae object?

tagliala commented 11 years ago

maybe auto-kal is not the right usage, if you need to get the current date via javascript or subscribe to some events

wehadfun commented 11 years ago

Probably true. Just wanted to make sure there wasn't a way to get the Kalendae object crated by auto-kal that I did not know about

Twipped commented 8 years ago

I'm afraid there's no way to obtain the kalendae object when it's auto-created. the object is not attached to anything in a public scope.