Module: module/query-sk

query-sk

Starting from a serialized paramtools.ParamSet, this control allows the user to build up a query, suitable for passing to query.New.
Events
Name Description
query-change The 'query-sk' element will produce 'query-change' events when the query parameters chosen have changed. The event contains the current selections formatted as a URL query, found in e.detail.q.
query-change-delayed The same exact event as query-change, but with a 500ms delay after the query stops changing.
Attributes
Name Description
{string} current_query - The current query formatted as a URL formatted query string.
{boolean} hide_invert - If the option to invert a query should be made available to the user.
{boolean} hide_regex - If the option to include regex in the query should be made available to the user.
Source:

Members

current_query

Properties:
Name Type Description
current_query string Mirrors the current_query attribute.
Source:

hide_invert

Properties:
Name Type Description
hide_invert boolean Mirrors the hide_invert attribute.
Source:

hide_regex

Properties:
Name Type Description
hide_regex boolean Mirrors the hide_regex attribute.
Source:

key_order

Properties:
Name Type Description
key_order string An array of strings, the keys in the order they should appear. All keys not in the key order will be present after and in alphabetical order.
Source:

paramset

Properties:
Name Type Description
paramset Object A serialized paramtools.ParamSet.
Source: