Skip to content

Commit

Permalink
added demo for hyperlink (Issue #1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbrent committed Feb 26, 2022
1 parent b61f2d3 commit 23a5e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/modules/demo_table.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ function genSlide04(pptx) {
[
{ text: "Text Objects", options: { color: "99ABCC", align: "right" } },
{ text: "2nd cell", options: { color: "0000EE", align: "center" } },
{ text: 3, options: { color: "0088CC", align: "left" } },
{ text: "Hyperlink", options: { hyperlink: { url: "https://github.com/gitbrent/pptxgenjs" } } },
],
];
slide.addTable(arrTextObjects, { x: 0.5, y: 2.7, w: 12.25, margin: 8, fill: { color: "F1F1F1" }, border: { pt: 1, color: "696969" } }); // DEPRECATED: `margin` in points
Expand Down

0 comments on commit 23a5e6e

Please sign in to comment.