I just tried a field that is not an array and it isn't working
either.
"fieldY": "bar"
<div data-ex-role="facet" data-ex-show-missing="false"
data-ex-expression=".fieldY" data-ex-facet-label="Name"
data-ex-selection="bar"></div>
On Mon, Sep 19, 2016 at 3:10 PM, Jared Szechy
<[email protected]
<mailto:[email protected]>> wrote:
I'm only trying to pass a single value but it's not working.
json:
"items": [
{
...
"fieldX": [
"foo"
],
...
},
]
html:
<div data-ex-role="facet" data-ex-show-missing="false"
data-ex-expression=".fieldX" data-ex-facet-label="Name"
data-ex-selection="foo"></div>
On Mon, Sep 19, 2016 at 3:04 PM, David Karger
<[email protected] <mailto:[email protected]>> wrote:
facets don't need to be visible for filtering to work.
setting style=display:none is fine
you don't specify an array for data-ex-selection, but
you can specify a list. i forget whether you separate
by commas or semicolons
On 9/19/2016 3:00 PM, Jared Szechy wrote:
Yes, I would like to use a url parameter.
Worst case I can add data-ex-selection dynamically
from a parameter, however I would ideally not like to
have the facets visible in this view.
Also, I've noticed that data-ex-selection attribute
does not seem to work on arrays.
On Mon, Sep 19, 2016 at 2:42 PM, David Karger
<[email protected] <mailto:[email protected]>> wrote:
there is a data-ex-selection attribute that you
can set on a facet element to have it init with
certain selections. do you need to specify the
selection in the url?
On 9/19/2016 2:06 PM, Jared wrote:
Any updates on how to accomplish this?
I would love to be able to simply pass a
parameter like ?color=red to apply a facet on
load. I understand that there is the bookmarking
functionality but that hash is really ugly and
contains way too much information as its just the
hashed version of Exhibit.History.getState().
On Sunday, November 15, 2015 at 5:25:01 AM UTC-5,
Andrea Borruso wrote:
Hi Tully,
On Saturday, 31 October 2015 00:53:20 UTC+1,
Tully Hansen wrote:
Further to this: adding "?persist=false"
to window.Exhibit_parameters gives me the
desired behaviour of being able to load a
ur with appended query string to filter
facets, click 'Reset All Filters', then
reload the same url with query to display
filtered facets again. (Exhibit 3.1.2-rc1.)
I'm very interested. Do you have an example
website in which I can see all in action?
Thank you
--
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]
<mailto:[email protected]>.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
Visit this group at
https://groups.google.com/group/simile-widgets
<https://groups.google.com/group/simile-widgets>.
For more options, visit
https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are
subscribed to a topic in the Google Groups "SIMILE
Widgets" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/simile-widgets/ILR1uLaPljQ/unsubscribe
<https://groups.google.com/d/topic/simile-widgets/ILR1uLaPljQ/unsubscribe>.
To unsubscribe from this group and all its topics,
send an email to
[email protected]
<mailto:[email protected]>.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
Visit this group at
https://groups.google.com/group/simile-widgets
<https://groups.google.com/group/simile-widgets>.
For more options, visit
https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
Jared Szechy
/Brilligent Solutions, Inc./
Office: 937.879.4148 x1007 <tel:937.879.4148%20x1007>
Fax: 937.879.4158 <tel:937.879.4158>
--
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]
<mailto:[email protected]>.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
Visit this group at
https://groups.google.com/group/simile-widgets
<https://groups.google.com/group/simile-widgets>.
For more options, visit
https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to
a topic in the Google Groups "SIMILE Widgets" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/simile-widgets/ILR1uLaPljQ/unsubscribe
<https://groups.google.com/d/topic/simile-widgets/ILR1uLaPljQ/unsubscribe>.
To unsubscribe from this group and all its topics, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
Visit this group at
https://groups.google.com/group/simile-widgets
<https://groups.google.com/group/simile-widgets>.
For more options, visit
https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
Jared Szechy
/Brilligent Solutions, Inc./
Office: 937.879.4148 x1007 <tel:937.879.4148%20x1007>
Fax: 937.879.4158 <tel:937.879.4158>
--
Jared Szechy
/Brilligent Solutions, Inc./
Office: 937.879.4148 x1007 <tel:937.879.4148%20x1007>
Fax: 937.879.4158 <tel:937.879.4158>
--
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]
<mailto:[email protected]>.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
Visit this group at
https://groups.google.com/group/simile-widgets
<https://groups.google.com/group/simile-widgets>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.