mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-15 21:12:41 +08:00
Allow unlisten events in case of text edit
This commit is contained in:
@@ -6,10 +6,12 @@ import ObjectSerializer from "../../serialization/ObjectSerializer"
|
||||
|
||||
export default class Paste extends IContext {
|
||||
|
||||
/** @type {(e: ClipboardEvent) => void} */
|
||||
#pasteHandle
|
||||
|
||||
constructor(target, blueprint, options = {}) {
|
||||
options.listenOnFocus = true
|
||||
options.unlistenOnTextEdit = true
|
||||
super(target, blueprint, options)
|
||||
this.serializer = new ObjectSerializer()
|
||||
let self = this
|
||||
|
||||
Reference in New Issue
Block a user