dataBinder: data-map만 대상

master
mjkhan21 4 months ago
parent 7e81be0af9
commit dd72d552c1

@ -1545,7 +1545,7 @@ var dataBinder = {
selector: (selector) => doctx ? "[data-doctx='" + doctx + "'] " + selector : selector, selector: (selector) => doctx ? "[data-doctx='" + doctx + "'] " + selector : selector,
querySelector: (selector) => document.querySelector(obj.selector(selector)), querySelector: (selector) => document.querySelector(obj.selector(selector)),
querySelectorAll: (selector) => Array.from(document.querySelectorAll(obj.selector(selector))), querySelectorAll: (selector) => Array.from(document.querySelectorAll(obj.selector(selector))),
inputs: () => obj.querySelectorAll("[name]"), inputs: () => obj.querySelectorAll("[data-map]"),
inputValue: (input) => { inputValue: (input) => {
let val = input.value; let val = input.value;

Loading…
Cancel
Save