angular2-qrscanner icon indicating copy to clipboard operation
angular2-qrscanner copied to clipboard

AppComponent.html:1 ERROR DOMException: Failed to execute 'setAttribute' on 'Element': '(default:' is not a valid attribute name.

Open abelardolg opened this issue 8 years ago • 2 comments

When I installed the

'@angular-devkit/[email protected]'

library, I saw this message.

The AppComponent.html is the same file of the project, unmodified.

Brs.

abelardolg avatar Jan 25 '18 08:01 abelardolg

@abelardolg Can you put your code in Plunkar

Sachin124 avatar Jan 25 '18 10:01 Sachin124

Hi @Sachin124 @abelardolg the issue is caused by the comments like canvas width (default: 640) or canvas height (default: 480) taken from the example

I removed them and it worked.

gnchiesa avatar Nov 08 '18 16:11 gnchiesa