mmo-query
1 symbol · generated 5 Oct 2026
mmo-query
mmo-query.jhs:1Query element to display a query to search for items
- Extends
- CustomShadowElement
Index
| value | the value of the query | |
| schema | the schema of the query | |
| ViewDefault static readonly accessor | ||
| value accessor | Get the value of the query | |
| schema accessor | Get the schema of the query | |
| constructor() | ||
| init() | ||
| setSchema(value) | Set the schema of the query | |
| setAPI(api) | Set the API of the query | |
| inputURL() | Input the URL of the query | |
| update() | Update the query | |
| search(key, value) | Search the query | |
| setSearchType(value, resetSearch) | Switch the search to another field: the select says which one, and the control it is searched with takes the place of the previous one. | |
| onFilterChange() | Set the filters of the query | |
| loadPrevious() | Load the previous page | |
| loadNext() | Load the next page | |
| search | the control the search is typed in, when the page provides its own | |
| (default) | the buttons added at the end of the bar |
Attributes2
value
mmo-query.jhsthe value of the query
value
schema
mmo-query.jhsthe schema of the query
schema
Properties3
ViewDefault
staticreadonlyaccessormmo-query.jhs:51value
accessormmo-query.jhs:69Get the value of the query
- Type
string
schema
accessormmo-query.jhs:86Get the schema of the query
- Type
object
Methods11
constructor()
mmo-query.jhs:55init()
mmo-query.jhs:60setSchema(value)
mmo-query.jhs:102Set the schema of the query
| value | object | - The schema of the query |
setAPI(api)
mmo-query.jhs:159Set the API of the query
| api | object | - The API of the query |
inputURL()
mmo-query.jhs:168Input the URL of the query
update()
mmo-query.jhs:180Update the query
search(key, value)
mmo-query.jhs:219Search the query
| key | ||
| value |
setSearchType(value, resetSearch)
mmo-query.jhs:231Switch the search to another field: the select says which one, and the control it is searched with takes the place of the previous one.
| value | string | - the key of the field to search on |
| resetSearch = false | boolean | - true to drop the current search value |
| returns | void |
onFilterChange()
mmo-query.jhs:256Set the filters of the query
loadPrevious()
mmo-query.jhs:265Load the previous page
loadNext()
mmo-query.jhs:275Load the next page
Slots2
search
mmo-query.jhsthe control the search is typed in, when the page provides its own
<slot name="search">
(default)
mmo-query.jhsthe buttons added at the end of the bar
<slot>