Takes a search expression that may contain multiple components, separated by commas or whitespaces. Resolves each search expression to the component it refers to and returns a list of IDs of the resolved components.
the source element where to start the search (e.g. required for @form).
A search expression with one or multiple components to resolve.
A list of IDs with the resolved components.
Takes a search expression that may contain multiple components, separated by commas or whitespaces. Resolves each search expression to the component it refers to and returns a JQuery object with the DOM elements of the resolved components.
the source element where to start the search (e.g. required for @form).
A search expression with one or multiple components to resolve.
A list with the resolved components.
Splits the given search expression into its components. The components of a search expression are separated by either a comman or a whitespace.
splitExpressions("") // => [""]
splitExpressions("form") // => ["form"]
splitExpressions("form,input") // => ["form", "input"]
splitExpressions("form input") // => ["form", "input"]
splitExpressions("form,@child(1,2)") // => ["form", "child(1,2)"]
A search expression to split.
The individual components of the given search expression.
Generated using TypeDoc
The interface of the object with all methods for working with search expressions.