Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
await publisherConnector.removeListener("FrameMoveFinished");

Four

...

Common Uses

Okay now that you understand the difference between the PublishConnector object and the editorObject, let us we can look at the four main methods on both objectsthese objects. Keep in mind that there are several methods, but we will only cover four use cases:

  • Listening to Events

  • Reading Properties

  • Setting Properties

  • Executing FunctionsFunction

Listening to Events

You can listen to events using this method .addListener(). The first parameter takes an event name (string) and a callback function to be called when the event is fired off.

...