Merge pull request #8 from Validark/patch-1
Delegate getAttribute/setAttribute
This commit is contained in:
commit
dd7a2eb520
@ -95,4 +95,12 @@ SVGCanvasElement.prototype.getElement = function() {
|
||||
return this.wrapper;
|
||||
};
|
||||
|
||||
SVGCanvasElement.prototype.getAttribute = function(prop) {
|
||||
return this.wrapper.getAttribute(prop);
|
||||
};
|
||||
|
||||
SVGCanvasElement.prototype.setAttribute = function(prop, val) {
|
||||
this.wrapper.setAttribute(prop, val);
|
||||
};
|
||||
|
||||
export default SVGCanvasElement;
|
||||
|
Loading…
x
Reference in New Issue
Block a user