Workaday Readings are the droll, dry, and dear pages I continuously tick through during my day.

This is shop talk, not for general consumption! (lest you want to fall asleep 😉 )

Workaday Reading

Pointer Lock API

“The Pointer Lock API (formerly called Mouse Lock API) provides input methods based on the movement of the mouse over time (i.e., deltas), not just the absolute position of the mouse cursor in the viewport.”


read »

Workaday Reading

A Sage 9 + ACF debugging technique

“Thought I would share a debugging technique that’s working out well for me at the moment. I’ve never had any successes getting Xdebug and VS Code to play nicely but this technique also covers Advanced Custom Fields too.”


read »

Workaday Reading

Binding and unbinding of event handlers

“How to attach or detach a handler function to an event, such as click, focus, or submit. Modern browsers support addEventListener() and removeEventListener() for adding or removing event handlers; IE 8 has its own methods.”


read »

Workaday Reading

removeEventListener and this

“Have you ever tried to call removeEventListener on a previously attached element and couldn’t remove it? Did you maybe try to pass a function to addEventListener that is bound to another context? The context of the callback that we are passing to addEventListener is the same as the event.”

read »

1 7 8 9