Page MenuHomeSoftware Heritage

selectAll.js
No OneTemporary

selectAll.js

import array from "./array.js";
import {Selection, root} from "./selection/index.js";
export default function(selector) {
return typeof selector === "string"
? new Selection([document.querySelectorAll(selector)], [document.documentElement])
: new Selection([array(selector)], root);
}

File Metadata

Mime Type
text/x-java
Expires
Fri, Jul 4, 5:06 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3452631

Event Timeline