Please use UI.addCustomModal instead

Hi,

I get this warning on Chrome. Is it ok?

I used last version download from.

addCustomModal.js:82 'setCustomModal' deprecated since version 8.5. Please use UI.addCustomModal instead

Document link

Thanks

Hello Ufuk,
Starting from version 8, the instance namespaces were split into Core and UI. For more information on these changes, please see our migration guide here: Migrating to PDF.js Express 8.0 | Documentation

best regards,
Kevin

1 Like