parallax / parallax/jsPDF

Feature requests: Getting the current x/y position while creating a pdf

Open
#3,213 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

persistent
Dominant language
JavaScript
Stars
31.3k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

Feature requests,

i like to have a function that returns the x and y coordinates which gives the right bottom position of the last added element.

This would help me add text below a table for instance

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading jsPDF's APIs for adding elements and how they track the current document position. Determine whether the last element's right-bottom coordinates are available during PDF creation, then verify the result with an example that places text below a table.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.