Readonly
asReadonly
childThe child nodes of this node collection as readonly attribute
settable flag for disabled
Readonly
elementsthe underlying form elements as DomQuery object
Readonly
globalreference to the systems global object (globalThis, window, global, depending on the environment)
Readonly
idreturns the id as settable value (See also ValueEmbedder)
inner html property setter and getter which works directly on strings
same as innerHTML will be removed once my code is transitioned
do not use anymore, user innerHTML instead
Readonly
inputThe value in case of inputs as changeable value
Readonly
lazylazy stream representation for this DomQuery
Readonly
lengthreturns the length of embedded nodes (top level)
Readonly
nameThe name as changeable value
convenience for dq.id.value to make the code a little tighter
Readonly
nodethe node name of the first element
Readonly
noncenonce value if our first root element
Readonly
offsetaccumulated top element offsetHeight
Readonly
offsetaccumulated top element offsetLeft
Readonly
offsetaccumulated top element offsetTop
Readonly
offsetaccumulated top element offsetWidth
Readonly
streaman early stream representation for this DomQuery
Readonly
tagthe tag name of the first element
Readonly
typethe type of the first element
abbreviation for inputValue.value to make the code terser
Readonly
valuereads the first element if it exists and returns an optional
Readonly
valuesAll elements as array
adds an event listener
Optional
options: boolean | EventListenerOptionsattr accessor, usage myQuery.attr("class").value = "bla" or let value myQuery.attr("class").value
the attribute to set
the default value in case nothing is presented (defaults to null)
iterate over each element and perform something on the element (Dom element is passed instead of DomQuery)
Optional
cnt: numberencodes all input elements properly into respective config entries, this can be used for legacy systems, for newer use-cases, use the HTML5 Form class which all newer browsers provide
a copy pf
optional config which can be merged in
perform an operation on the first element returns a DomQuery on the first element only
Optional
cnt: numberRuns an eval and keeps the evaluated code in the head This is a corner condition, where we want to update the head with custom code and leave the code in (instead of deleting ig)
the code to be evaluated
Optional
nonce: stringoptional nonce key for higher security
should make the code clearer note if you pass a function this refers to the active DomQuery object
perform an operation on the first element returns a DomQuery on the first element only
Optional
cnt: numberouterHTML convenience method browsers only support innerHTML but for instance for your jsf.js we have a full replace pattern which needs outerHTML processing
Optional
runEmbeddedScripts: booleanOptional
runEmbeddedCss: booleanquery selector all on the existing dom query object
a DomQuery with the results
the standard selector
closest, walks up the dom tree to fid the closest element to match
a DomQuery with the results
the standard selector
removes an event listener
Optional
options: boolean | EventListenerOptionsRun through the given nodes in the DomQuery execute the inline scripts
Optional
sticky: booleanif set to true the element must be left in the head after eval default === false
Optional
whiteListed: ((val: string) => boolean)Generated using TypeDoc
transform this node collection to an array