clean up
This commit is contained in:
parent
80246b8964
commit
eb6d149333
@ -68,8 +68,8 @@ class App {
|
|||||||
this.Instance = await this.UI.loadPSPDFKit(arrayBuffer, this.container)
|
this.Instance = await this.UI.loadPSPDFKit(arrayBuffer, this.container)
|
||||||
this.UI.configurePSPDFKit(this.Instance, this.handleClick.bind(this))
|
this.UI.configurePSPDFKit(this.Instance, this.handleClick.bind(this))
|
||||||
|
|
||||||
this.Instance.addEventListener('annotations.load', this.handleAnnotationsLoad)
|
this.Instance.addEventListener('annotations.load', this.handleAnnotationsLoad.bind(this))
|
||||||
this.Instance.addEventListener('annotations.change', this.handleAnnotationsChange)
|
this.Instance.addEventListener('annotations.change', this.handleAnnotationsChange.bind(this))
|
||||||
this.Instance.addEventListener('annotations.create', this.handleAnnotationsCreate.bind(this))
|
this.Instance.addEventListener('annotations.create', this.handleAnnotationsCreate.bind(this))
|
||||||
|
|
||||||
// Load annotations into PSPDFKit
|
// Load annotations into PSPDFKit
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user