Fork me on GitHub
#hoplon
<
2016-03-08
>
genRaiy13:03:02

on another subject … are there any examples of hoplon feeding cell values into webgl style frameworks like mathbox? (asking for a friend)

micha19:03:36

super minimal draggable reordering list in hoplon: https://gist.github.com/3b441cfa6a83b45f8459

symbit20:03:36

Does anyone know where I'd configure hoplon.jquery.daterangepicker to have a maxDate for instance?

symbit20:03:00

Is there a direct correlation between the jquery options and what is allowed/exposed in the hoplon version?

micha20:03:31

yes i believe so

symbit21:03:25

Thanks. The example has :opts (cell= {:autoClose false}) autoClose is not one of the jQuery options. An add-on I assume. When adding many variations of "maxDate" "max-date" :maxDate :max-date nothing takes.

micha21:03:58

you can see what it's doing there, it's only 48 lines of code total simple_smile

dm321:03:09

what do you pass in as a maxDate?

dm321:03:27

according to https://jqueryui.com/datepicker/#min-max must be a date object or a period string

symbit21:03:59

:maxDate (js/Date 2015 3 7) :opts {:autoClose false :maxDate -1}

symbit21:03:41

:opts {:autoClose false :maxDate "-1D"}

dm321:03:39

try debugging the datepicker initialization code in developer tools and see if it initializes the options correctly

symbit22:03:14

The version being used doesn't have maxDate

symbit23:03:30

I was looking at the options for one of the many other date range pickers: https://github.com/dangrossman/bootstrap-daterangepicker