UNPKG

@kickscondor/umbrellajs

Version:

Lightweight and intuitive javascript library

33 lines (16 loc) 363 B
## .first() Retrieve the first of the matched nodes ```js .first(); ``` ### Parameters This method doesn't accept any parameters ### Return The first html node or false if there is none. ### Examples Retrieve the first element of a list: ```js var next = u("ul.demo li").first(); ``` ### Related [.last()](#last) retrieve the last matched element