Skip to content

Conversation

joostlubach
Copy link

I've added a change that allows pages to be inserted through an insertPage(at, options) method.

Also, when continuing pages, it will try to insert a page after the current one.

It will throw an error if option bufferPages is not set.

@blikblum
Copy link
Member

blikblum commented Jul 9, 2019

Thanks. We will need some tests. Also look at the review notes

"vector"
],
"version": "0.10.0",
"version": "0.11.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not update the version in package.json. It's done when a release is prepared

}

this.document.addPage();
this.document.addPageAfterThis();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For safety this needs to be kept as addPage

return this;
}

addPageAfterThis(options) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now i would not add this method. Can be added later with a clear use case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants