With our new PDF and PNG previews, clients will be able to choose which nodes to export. This means more precise and personalized exports.
Last week we have released PoerPoint Preview UI, from that UI the user can choose what to export. We have implemented the same functinallity for PDF and PNG exports.
Here is a Code demo
To enable the functionallity simply add new menu items:
menu:{
pdfpreview: {text: 'PDF Preview'},
pngpreview: {text: 'PNG Preview'}
},
Also you can open the preview from a function:
this.pdfPreviewUI.show({
pages: [
{nodeId: 3},
{nodeId: 4},
]
});
Go to this doc page to learn more