Skip to content

elementStore.ts

github-actions[bot] edited this page Jun 17, 2023 · 3 revisions

Functions

updateGlobalElements(object)

Updates global elements with values from an object.

getDestElements(dest)Array

Returns an array of DOM elements with the specified name or ID.

addInputs()

Finds all input, select, and text area elements in the current page and adds their IDs to the commonElements list of input IDs.

addOutputs()

Finds all output elements in the current page and adds their names or IDs (whichever exists) to the commonElements list of output names/IDs.

updateGlobalElements(object)

Updates global elements with values from an object.

Kind: global function

Param Type Description
object Object

The object containing values to be updated.

getDestElements(dest) ⇒ Array

Returns an array of DOM elements with the specified name or ID.

Kind: global function
Returns: Array -

An array of matching DOM elements.

Param Type Description
dest string

The name or ID of the elements to search for.

addInputs()

Finds all input, select, and text area elements in the current page and adds their IDs to the commonElements list of input IDs.

Kind: global function

addOutputs()

Finds all output elements in the current page and adds their names or IDs (whichever exists) to the commonElements list of output names/IDs.

Kind: global function

Clone this wiki locally