Home  >  Article  >  Web Front-end  >  TypeError: canvas.save is not a function canvas.save();_html/css_WEB-ITnose

TypeError: canvas.save is not a function canvas.save();_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:45:441443browse

For example:
Firefox shows that canvas.save() cannot be used?
Why is this!


Reply to discussion (solution)

What version of ff do you have? How did you write your code?
I tested the ff37 version and there is no problem
Example
http://www.tutorialspoint.com/html5/canvas_states.htm

Thank you! I wrote it wrong, not canvas

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn