You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to migrate from Paged.js to Vivliostyle.js, and I wrote hooks to run at atBreakToken and at renderNode to modify breaks of my document. Vivliostyle documentation doesn't provide information about types of hooks available.
The text was updated successfully, but these errors were encountered:
Thank you for your question. Unfortunately, the documentation for plugin.registerHook and its usage examples are found only in the source code of Vivliostyle.js. See the source code https://github.com/vivliostyle/vivliostyle.js/blob/master/packages/core/src/vivliostyle/plugin.ts and find the usage of plugin.registerHook. Several vivliostyle features have been added by using plugin.registerHook mechanism. The following pull requests may be helpful as examples:
I want to migrate from Paged.js to Vivliostyle.js, and I wrote hooks to run at
atBreakToken
and atrenderNode
to modify breaks of my document. Vivliostyle documentation doesn't provide information about types of hooks available.The text was updated successfully, but these errors were encountered: