This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
// Wait until element exists helper function | |
$.fn.waitUntilExists = function (handler, shouldRunHandlerOnce, isChild) { | |
var found = 'found'; | |
var $this = $(this.selector); | |
var $elements = $this.not(function () { return $(this).data(found); }).each(handler).data(found, true); | |
if (!isChild) | |
{ | |
(window.waitUntilExists_Intervals = window.waitUntilExists_Intervals || {})[this.selector] = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="page-break-before: always; text-align: center;"> | |
<h1 style="text-align: center;">{ApplicationCode}</h1> | |
<h2 style="text-align: center;">{ApplicationName}</h2> | |
<h3 style="text-align: center;">{ApplicationCategoryName}</h3> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html style="color:green;" lang="en"> | |
<head> | |
<title>Getting Started with Api2Pdf.com</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.1/css/bootstrap.min.css" /> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="row justify-content-md-center text-center"> | |
<img src="https://www.api2pdf.com/wp-content/themes/api2pdf/assets/images/logo.png" /> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://code.highcharts.com/highcharts.js"></script> | |
<script src="https://code.highcharts.com/modules/series-label.js"></script> | |
<script src="https://code.highcharts.com/modules/exporting.js"></script> | |
<script src="https://code.highcharts.com/modules/export-data.js"></script> | |
<style> | |
#container { | |
min-width: 800px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>A simple, clean, and responsive HTML invoice template</title> | |
<style> | |
.invoice-box { | |
max-width: 800px; | |
margin: auto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://cdn.anychart.com/releases/8.3.0/js/anychart-base.min.js"></script> | |
<style> | |
#container { | |
min-width: 800px; | |
max-width: 800px; | |
height: 400px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="en"> | |
<head> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<main role="main" class="container"> | |
<div class="row"> | |
<div class="col-8"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="page-break-before:always;"> | |
<p>YOUR CONTENT 1</p> | |
</div> | |
<div style="page-break-before:always;"> | |
<p>YOUR CONTENT 2</p> | |
</div> | |
<div style="page-break-before:always;"> | |
<p>YOUR CONTENT 3</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class=\"page-footer\" style=\"width:100%; text-align:right; font-size:12px;\">Page <span class=\"pageNumber\"></span> of <span class=\"totalPages\"></span></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"html": "<p>Hello World</p>", | |
"inlinePdf": true, | |
"fileName": "test.pdf", | |
"options": { | |
"displayHeaderFooter": true, | |
"footerTemplate": "<div class=\"page-footer\" style=\"width:100%; text-align:right; font-size:12px;\">Page <span class=\"pageNumber\"></span> of <span class=\"totalPages\"></span></div>" | |
} | |
} |
OlderNewer