selector
単純な querySelector のエイリアス
インストール
npm install @maboroshi/selector
or
yarn add @maboroshi/selector
使い方
import { $, $$ } from '@maboroshi/selector'
console.log($('p')) // => The 1st P element on the document.
console.log($$('p')) // => The All P elements on the document.
API
API ドキュメント を見る