The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Send A Argument To A Function Inside addEventListener In JavaScript

TODO: Pull subtitle into page object

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Send A Argument To A Function Inside addEventListener In JavaScript

This is working, but I'm a little uncertian about it. 
Keep an eye on it. 

See also: 2ai9647o

And this one might be the better way to do it:

id: 01f3vf43

-- html

<input id="searchBox" type="text">

-- script
-- type: show

const pingIt = (value) => {
    console.log(value)
}

document.addEventListener("DOMContentLoaded", () => {
    searchBox.addEventListener('input', () => {
        pingIt.call(null, searchBox.value)
    })
})


-- categories
-- JavaScript 

-- metadata
-- date: 2021-04-13 20:56:33
-- id: 01f36y2e
-- status: draft 
-- type: post
-- site: aws