DEV Community

Discussion on: Use Custom HTML Attribute's in TypeScript

Collapse
 
seanblonien profile image
Sean Blonien

Do you know if it's possible to limit this to specific DOM elements? This allows all DOM elements to take 'custom' as an attribute, but what if we just wanted to limit it to 1 specific DOM element?