Skip to content

Commit 2199def

Browse files
author
Yeiber Cano
committed
add element to props object
1 parent 4348e60 commit 2199def

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dommodel/DOMModel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default class DOMModel {
66
constructor(element) {
77
this.props = {};
88
this.element = element;
9+
this.props.element = element;
910
this.getId();
1011
this.getClassList();
1112
this.getChildNodes();

0 commit comments

Comments
 (0)