@bonitasoft/query-selector
v1.0.8
Published
A query selector
Downloads
125
Keywords
Readme
query-selector
Query selector web component. Display, filter, select queries. Provide values if arguments are required.
Depends on @bonitasoft/search-box
and @bonitasoft/pagination-selector
web components.
Events
Generates a queryChanged
event at each change in the query selector.
Attributes
queries
(default: empty)lang
(default: en)
Usage
Run:
npm install @bonitasoft/query-selector
Then import node_modules/@bonitasoft/query-selector/lib/query-selector.es5.min.js
And you can use new html tag, for example:
<query-selector lang="fr" queries='{"defaultQuery": [{"displayName": "name", "query": "findByName", "filters": [{"name": "name", "type": "String"}]}], "additionalQuery": [{"displayName": "find", "query": "find", "filters": []}]}'></query-selector>