Index

mmo-query

1 symbol · generated 5 Oct 2026

element

mmo-query

mmo-query.jhs:1

Query element to display a query to search for items

<mmo-query value schema></mmo-query>
Extends
CustomShadowElement

Index

valuethe value of the query
schemathe schema of the query
ViewDefault static readonly accessor
value accessorGet the value of the query
schema accessorGet 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
searchthe control the search is typed in, when the page provides its own
(default)the buttons added at the end of the bar

Attributes2

Properties3

value

accessormmo-query.jhs:69

Get the value of the query

get value() set value(value)
Type
string

schema

accessormmo-query.jhs:86

Get the schema of the query

get schema() set schema(value)
Type
object

Methods11

setSchema(value)

mmo-query.jhs:102

Set the schema of the query

setSchema(value)
valueobject- The schema of the query

setAPI(api)

mmo-query.jhs:159

Set the API of the query

setAPI(api)
apiobject- The API of the query

setSearchType(value, resetSearch)

mmo-query.jhs:231

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.

setSearchType(value, resetSearch = false)
valuestring- the key of the field to search on
resetSearch = falseboolean- true to drop the current search value
returnsvoid

Slots2

(default)

mmo-query.jhs

the buttons added at the end of the bar

<slot>