Skip to content

Instantly share code, notes, and snippets.

View dblanchardDev's full-sized avatar

David Blanchard dblanchardDev

View GitHub Profile
@AdaRoseCannon
AdaRoseCannon / HTMLElementPlus.js
Last active March 3, 2023 11:33
HTML Element Plus for Web Components
'use strict';
class HTMLElementPlus extends HTMLElement {
static defaultAttributeValue() {
/* the name of the attribute is parsed in as a parameter */
return;
}
static parseAttributeValue(name, value) {