mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-05 23:27:31 +08:00
Make elements default constructible, testing wip
This commit is contained in:
@@ -17,11 +17,11 @@ export default class Copy extends IInput {
|
||||
}
|
||||
|
||||
listenEvents() {
|
||||
document.body.addEventListener("copy", this.#copyHandler)
|
||||
window.addEventListener("copy", this.#copyHandler)
|
||||
}
|
||||
|
||||
unlistenEvents() {
|
||||
document.body.removeEventListener("copy", this.#copyHandler)
|
||||
window.removeEventListener("copy", this.#copyHandler)
|
||||
}
|
||||
|
||||
copied() {
|
||||
|
||||
Reference in New Issue
Block a user