Skip to content

Commit

Permalink
docs: Update README for allowRotation examples
Browse files Browse the repository at this point in the history
also update tsdoc option
  • Loading branch information
soimy committed Feb 13, 2020
1 parent ab68e1c commit cd99857
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ let input = [ // any object with width & height is OK since v2.1.0
{width: 600, height: 20, name: "flower"},
{width: 2000, height: 2000, name: "oversized background", {frameWidth: 500, frameHeight: 500}},
{width: 1000, height: 1000, name: "background", color: 0x000000ff},
{width: 1000, height: 1000, name: "overlay"}
{width: 1000, height: 1000, name: "overlay", allowRotation: true}
];

packer.addArray(input); // Start packing with input array
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
"typedocOptions": {
"mode": "modules",
"out": "docs",
"theme": "minimal"
"excludeExternals": true,
"excludeNotExported": true,
"excludePrivate": true
},
"include": [
"./src/**/*"
Expand Down

0 comments on commit cd99857

Please sign in to comment.