doc: don't bury the lead

This commit is contained in:
AJ ONeal 2024-08-29 17:56:55 -06:00
parent 8abe08ac48
commit be92cb7aa2
No known key found for this signature in database
GPG Key ID: F1D692A76F70CF98
1 changed files with 8 additions and 8 deletions

View File

@ -5,6 +5,14 @@ The fastest, most lightweight, fewest dependency jQuery alternative.
Development Build: 145B (with comments) \ Development Build: 145B (with comments) \
Production Build: 103B (min + gz) Production Build: 103B (min + gz)
## Example Usage
Provides modern, advanced CSS4-compatible query selection:
```js
console.log("innerText:", $("p:nth-child(2").innerText);
```
## Install ## Install
### via GitHub ### via GitHub
@ -27,14 +35,6 @@ curl -fsSL "https://raw.githubusercontent.com/coolaj86/ajquery.js/${my_ver}/ajqu
<script src="https://unpkg.com/ajquery"></script> <script src="https://unpkg.com/ajquery"></script>
``` ```
## Example Usage
Provides modern, advanced CSS4-compatible query selection:
```js
console.log("innerText:", $("p:nth-child(2").innerText);
```
## API ## API
### `$(selector, [rootElement])` ### `$(selector, [rootElement])`