MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / onclick

Function onclick

src/dialogs/dialog.js:162–165  ·  view source on GitHub ↗

* Set onclick callback function * @param {function(this:HTMLElement, Event):void} onclick Callback function * @returns {PromiseLike}

(onclick)

Source from the content-addressed store, hash-verified

160 * @returns {PromiseLike}
161 */
162 function onclick(onclick) {
163 _onclick = onclick;
164 return promiseLike;
165 }
166
167 /**
168 * Set onhide callback function

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected