MCPcopy
hub / github.com/parse-community/parse-server-example / bindBtn

Function bindBtn

public/assets/js/script.js:13–15  ·  view source on GitHub ↗
(selector, callback)

Source from the content-addressed store, hash-verified

11};
12
13const bindBtn = (selector, callback) => {
14 document.querySelector(selector)?.addEventListener('click', callback);
15};
16
17const closeStep = (selector) => {
18 document.querySelector(selector)?.classList.add('step--disabled');

Callers 3

postDataFunction · 0.85
getDataFunction · 0.85
initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected