Package Exports
- dom_token_list-functions-contains_all
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dom_token_list-functions-contains_all) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
containsAll
Extend the ability of classList, relList, sandBox and htmlFor to search for many instead of single values
<div class="class_one class_two"> </di>
var element = document.getElementById("element_id"); element.classList.containsAll("class_one class_two"); // returns true
For Information About DOMTokenList
https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList