This proposal introduces an API for defining custom attributes for both built-ins and custom elements, and design discussion for an API that can be used to define more complex enhancements that involve multiple attributes, methods, JS-on......associated with an attribute, say "log-to-console" anytime the user...customEnhancements . define ( 'log-to-console' , class extends ElementEnhancement...