Skip to content

Commit fed9450

Browse files
committed
Add event on end init
Signed-off-by: Vitor Mattos <vitor@php.rio>
1 parent 0ea0d40 commit fed9450

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/VuePdfEditor.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,11 @@ export default {
389389
this.narrowEnlargeShow = true
390390
this.initTextField()
391391
await this.initImages()
392+
this.$emit('pdf-editor:end-init', {
393+
allObjects: this.allObjects,
394+
numPages: this.numPages,
395+
pages: this.pages,
396+
})
392397
} catch (e) {
393398
console.log(e)
394399
}

0 commit comments

Comments
 (0)