Adobe-CEP / Samples

Code samples for CEP extensions
MIT License
972 stars 551 forks source link

addEventListener error. Using bind to align with other events #118

Closed premiereonscript closed 4 years ago

premiereonscript commented 4 years ago

Submit a pull request

CLA

Topic

This is a pull request for:

Versions

Description of the pull request

Was not able to get realtime updating of selected items to work in Premiere. Changing this to an app.bind fixed the issue for me

bbb999 commented 4 years ago

Have you tested in New World? I believe addEventListener works there...?

premiereonscript commented 4 years ago

Have not tested in New World. Will do that and follow up...

Even if it works, curious why some events in the sample would be using "bind", and others would use "addEventListener", especially if bind can support older versions and new.

premiereonscript commented 4 years ago

Confirmed, works in New World.

Canceling