Thanks,  Ted,

I'll test it.



Saludos,

-- luismiguel  (@lmorillas)

2015-05-14 19:40 GMT+02:00 Ted Benson <[email protected]>:

> Following up, I just added two extra features to the new port:
>
> # Property acceptLists [Boolean, default false]
>
> Will treat the startDate and endDate as lists of dates (taken together, a
> list of timespans). The facet will accept a datapoint if it passes ANY of
> the spans in the list.
>
> # Property invert [Boolean, default false]
>
> Will invert the predicate result of the facet. This can be useful for
> scheduling: perhaps the startDate and endDate in your data represent
> unavailability rather than availability. You'd like to tell the facet to
> accept the data point for all dates *except* those in the [startDate,
> endDate] span.
>
>
> On Thu, May 14, 2015 at 10:31 AM, Ted Benson <[email protected]> wrote:
>
>> Hi all,
>>
>> I just made a rough port of the Calendar facet to Exhibit 3.0. Basic
>> functionality seems to work, though I haven't tested the different
>> parameters thoroughly.
>>
>> You can find it here:
>>
>> https://github.com/eob/exhibit/tree/calendar-facet
>>
>> If you want to try it out:
>>
>> 1) host that codebase anywhere
>> 2) include the following link in your HEAD (you can see there I was
>> hosting at localhost:7777 -- you'll need to change the domain to where
>> you're hosting from)
>>
>>     <link rel="exhibit-extension" type="text/javascript" href="
>> http://localhost:7777/scripted/src/extensions/calendar/calendar-extension.js";
>> />
>>
>> 3) invoke the widget
>>
>>       <div ex:role="facet" ex:beginDate=".date"
>> ex:facetLabel="Availability" ex:displayDate="2015-06-01"
>> ex:facetClass="DatePicker"></div>
>>
>>
>> Cheers,
>> Ted
>>
>> --
>> :: Ted Benson
>> :: http://people.csail.mit.edu/eob/
>> :: @edwardbenson
>>
>
>
>
> --
> :: Ted Benson
> :: http://people.csail.mit.edu/eob/
> :: @edwardbenson
>
> --
> You received this message because you are subscribed to the Google Groups
> "SIMILE Widgets" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/simile-widgets.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

Reply via email to