developit / developit/undom

Add Attribute class

Open
#14 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
690
Forks
25
PR merge metrics
No merged PRs in 30d

Description

One more thing is to add Attribute, which _should not_ inherit from `Node`, so this would be enough

```js
class Attribute {
constructor (name, value, ns) {
this.nodeType = 2
this.name = name
this.value = value
this.namespaceURI = ns
}
}
```

I can PR with fixes and updates addressed in couple of issues, do you want such PR?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.