riot
Version:
Simple and elegant component-based UI library
15 lines (12 loc) • 320 B
JavaScript
/* Riot v10.1.3, @license MIT */
import $ from '../dependencies/bianco.query/index.next.js';
const COMPONENT_DOM_SELECTORS = Object.freeze({
// component helpers
$(selector) {
return $(selector, this.root)[0]
},
$$(selector) {
return $(selector, this.root)
},
});
export { COMPONENT_DOM_SELECTORS };