Skip to content

Commit eaba55c

Browse files
GitBrentGitBrent
authored andcommitted
Fixed Hyperlink example
1 parent 3bbeb66 commit eaba55c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,11 @@ slide.addText(
363363

364364
// EX: Hyperlinks
365365
slide.addText(
366-
{
366+
[{
367367
text: 'PptxGenJS Project',
368368
options: { hyperlink:{ url:'https://github.com/gitbrent/pptxgenjs', tooltip:'Visit Homepage' } }
369-
},
370-
x:1.0, y:1.0, w:5, h:1
369+
}],
370+
{ x:1.0, y:1.0, w:5, h:1 }
371371
);
372372

373373
// EX: Drop/Outer Shadow

0 commit comments

Comments
 (0)