tazsingh / will_pickdate

Easy to use and well designed date picker widget with year in decades, month in year, day of month, and time of day support.

Home Page:http://tazsingh.github.io/will_pickdate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to override default options object

g8d3 opened this issue · comments

commented

I want to override defaults along all my application, something like $.extend($.fn.will_pickdate.options, myDefaultsObject), and then to use $('input').will_pickdate()

How can I do that?

This feature is already in v0.3.0 and will be available once v0.3.0 is complete.

https://github.com/zenapsis/will_pickdate/blob/v0.3.0/spec/options_spec.js#L38-L46