Box content preview in ionic app
I'm trying to load the content preview within an Ionic app. I use the same code as in my angular web app but the ionic app doesn't seem to load the content. The load event isn't fired and box doesn't trow an error. Any suggestions on what I could do?
const preview = new Box.Preview();
preview.addListener('load', (data) => {
console.log('loaded')
});
preview.show(this.summary.doc_id, this.summary.token.access_token, {
container: '.preview-container',
showDownload: false,
});
サインインしてコメントを残してください。
コメント
0件のコメント