pdfui.eventEmitter.on(UIExtension.PDFViewCtrl.Events.renderFileSuccess, (pdfDoc) => {
pdfui.getComponentByName(
'gotoPage'
).then(gotoPage => {
gotoPage.disable();
});
pdfui.getComponentByName(
'editable-zoom-dropdown'
).then(zoomValue =>{
zoomValue.disable();
})
});