Multi-window JavaScript App

I describe everything I know about JavaScript window.open() and how it can be used in multi-window applications.

Get JavaScript Instance Methods

It’s been a while since I needed to list a JavaScript object’s methods at runtime, but I needed to do it recently. I tried what I thought I used to do: no luck. So I looked on google; checked with chatGPT; and looked on StackOverflow. Most of what I found was along the lines of […]

DOM Element.replaceChildren()

My Problem I’m working on an application to view at least 40,000 media files. I was surprised when I first put 40k files in the view container. Scrolling was as smooth as if I had 400 files. Or 40. Chrome was great when an element had 40k children. Then I tried to do things other […]

Javascript IndexedDB Intro

There are a lot of great tutorials that go into a lot of depth on database theory and terminology and allow the power of IndexedDB. If you want that, this is not the right article for you. I’ve literally written a relational database engine (not SQL, but the services that manage data and indices and […]

Javascript Callbacks, Promises & Async

Someone on twitter said she had trouble with the concept of await and promises. I thought I would give a link to a good tutorial. I found great technical articles, but not so much about the concept. If you want technical details you should scan a few google results and pick one that works for […]

Scroll Handler

This handler is not fully implemented. The basics of all event handlers is described in another post. This post describes ScrollHandler. ScrollHandler listens to javascript scroll events. Scroll events do not bubble, so even though it is possible to set a selector(), it will not change anything. Only scroll events for the listen() element are […]

Mouse Handlers

The basics of all event handlers is described in another post. This post describes MouseHandler. All of the base EventHandler functionality is available as with all CategoryEventHandlers. The most useful being MouseHandler manages callbacks for mouse events ClickHandler can also be used for ‘click’. The difference is that MouseHandler processes the mouse position while ClickHandler […]

Click Handlers

I described the basics of my latest event handlers in another post. This post describes ClickHandler. This is the most common event I process in my latest fun/experiment app. I have simple handlers such as       BuildClickHandler()         .listenTo(‘.popup’)         .selector(‘a.view’)         .onClick(viewFile)   […]

Input and Checkbox Handlers

I described the basics of my latest event handlers in another post. Inputs are a critical part of most web apps and the first handler I created. This post describes how input event handlers work in my latest fun/learning/experiment project. InputHandler is an EventHandler intended to listen for events on <input>, <select> and <textarea> elements. […]

My Javascript Event Handling

This post describes the common functionality of event handling in a project I’m working on for fun. I’ve spent my career trying to stay comfortably between cryptic and verbose. I recently started a project for fun using a javascript library I first wrote over 15 years ago. It has looked like jQuery. It has looked […]