File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -257,8 +257,16 @@ <h2> Methods</h2>
257
257
< th > Description </ th >
258
258
</ tr >
259
259
< tr >
260
- < td class ="mono-bold "> generatePdf()</ td >
261
- < td class ="gray "> to programmatically generate the PDF </ td >
260
+ < td class ="mono-bold "> generatePdf(spec)</ td >
261
+ < td class ="gray ">
262
+ to programmatically generate the PDF
263
+ takes a single parameter that can
264
+ < ul >
265
+ < li > either a string containing the url of the specs</ li >
266
+ < li > or a JSON object representing a valid spec</ li >
267
+ </ ul >
268
+ < a href ="https://github.com/mrin9/RapiPdf/blob/master/docs/examples/example1.html "> Example </ a >
269
+ </ td >
262
270
</ tr >
263
271
< tr >
264
272
< td class ="mono-bold "> setAttribute(attr-name, value)</ td >
@@ -329,6 +337,8 @@ <h2> Localization</h2>
329
337
}
330
338
}
331
339
340
+
341
+
332
342
</ script >
333
343
</ body >
334
344
Original file line number Diff line number Diff line change @@ -257,18 +257,16 @@ <h2> Methods</h2>
257
257
< th > Description </ th >
258
258
</ tr >
259
259
< tr >
260
- < td class ="mono-bold "> generatePdf(spec) </ td >
261
- < td class ="gray "> To programatically load spec. The method takes
260
+ < td class ="mono-bold "> generatePdf(spec)</ td >
261
+ < td class ="gray ">
262
+ to programmatically generate the PDF
263
+ takes a single parameter that can
262
264
< ul >
263
265
< li > either a string containing the url of the specs</ li >
264
266
< li > or a JSON object representing a valid spec</ li >
265
267
</ ul >
268
+ < a href ="https://github.com/mrin9/RapiPdf/blob/master/docs/examples/example1.html "> Example </ a >
266
269
</ td >
267
- < td > < a href ="https://github.com/mrin9/RapiPdf/blob/master/docs/example1.html "> Example </ a > </ td >
268
- </ tr >
269
- < tr >
270
- < td class ="mono-bold "> generatePdf()</ td >
271
- < td class ="gray "> to programmatically generate the PDF </ td >
272
270
</ tr >
273
271
< tr >
274
272
< td class ="mono-bold "> setAttribute(attr-name, value)</ td >
You can’t perform that action at this time.
0 commit comments