component-query

WebJar for component-query

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

component-query
Last Version

Last Version

0.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

component-query
WebJar for component-query
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/component/query

Download component-query

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/component-query/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>component-query</artifactId>
    <version>0.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/component-query/
implementation 'org.webjars.npm:component-query:0.0.3'
// https://jarcasting.com/artifacts/org.webjars.npm/component-query/
implementation ("org.webjars.npm:component-query:0.0.3")
'org.webjars.npm:component-query:jar:0.0.3'
<dependency org="org.webjars.npm" name="component-query" rev="0.0.3">
  <artifact name="component-query" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='component-query', version='0.0.3')
)
libraryDependencies += "org.webjars.npm" % "component-query" % "0.0.3"
[org.webjars.npm/component-query "0.0.3"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

query

Query the DOM with selector engine fallback support. This abstraction allows all other components that require dom querying to indirectly support old browsers, without explicitly adding support for them.

Installation

$ component install component/query

API

query(selector, [el])

Query selector against the document or el and return a single match.

query('ul > li');
query('ul > li', articles);

query.all(selector, [el])

Query selector against the document or el and return all matches.

query.all('ul > li');
query.all('ul > li', articles);

Fallback engines

Currently supported:

License

MIT

org.webjars.npm

Components

modular components for component

Versions

Version
0.0.3