What's Changed
- Introduced the
onUpdated
Hook along with theneedOnUpdated
prop: The onUpdated event will be emitted only when needed, specifically when needOnUpdated is set to true. - Introduced
setCtxClear
prop for setting onclear event on the canvas, enhancing customization of canvas behavior. - Props
Height / Width
are optional for both Canvas and PDF. If not specified, these components will inherit the dimensions of their parent container. - Introduced Basic PDF template support, without multipage tags.
- Introduced
autoPagination
flag to allows users to enable or disable the auto-pagination feature in PDF contexts, providing greater control over document formatting. - Code refactoring.
- Updated examples.
Full Changelog: vue-v2.1.0...vue-2.2.0