Skip to content

Canvas Id #207

Description

@Paulsky

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions