drag-and-drop-placeholders-into-PDF icon indicating copy to clipboard operation
drag-and-drop-placeholders-into-PDF copied to clipboard

Placeholders not updating.

Open rahimnagori opened this issue 4 years ago • 2 comments

Hello @ValerioEmanuele , I have checked you codepen demo and here is the result coordinates of a same placeholder put at 4 different locations: top left posizioneX:19.873524451939318 posizioneY:813.95

top right posizioneX:19.873524451939318 posizioneY:813.95

bottom left posizioneX:19.873524451939318 posizioneY:813.95

bottom right posizioneX:19.873524451939318 posizioneY:813.95

Could you please have a look into this. Values are updating only on page refresh.

rahimnagori avatar Sep 05 '20 06:09 rahimnagori

Hi Abdul,

Please update these two lines in showCoordinates() method Not working: var x = parseFloat($(this).data("x")); var y = parseFloat($(this).data("y"));

Working: var x = parseFloat($(this).attr("data-x")); var y = parseFloat($(this).attr("data-y"));

hope this will work.

Anilk71000495 avatar Jun 17 '21 15:06 Anilk71000495

How do i use the coordinate return to render inputs on pdf with TCPDF or even css?

olaseyo avatar Dec 14 '21 10:12 olaseyo