angularjs-pdf
angularjs-pdf copied to clipboard
Canvas Id
Hello,
I want to position the canvas element myself. I read in the Readme that I should use '<canvas id="x"></canvas>' in combination with <ng-pdf canvasid="x"></ng-pdf>.
But that’s not working. When I’m looking in the source code, I can see how the canvas is created: 'var canvas = $document[0].createElement('canvas');'.
But I can’t find anything in the code that checks for canvasid or if there is an existing canvas. Could you please help me? Or maybe update the readme?
Same problem here
I too have this issue. Any solution for this soon? I'd like not to modify the source.
Should/could I modify the source and commit it here?
Yes @jegjessing , you can modify the source, PR's are welcome!