Delegate getAttribute/setAttribute
This commit is contained in:
parent
aad3657347
commit
b4dde7078f
@ -95,4 +95,12 @@ SVGCanvasElement.prototype.getElement = function() {
|
|||||||
return this.wrapper;
|
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;
|
export default SVGCanvasElement;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user