Skip to content

GenomeSpy Core API / EmbedEventApi

Interface: EmbedEventApi

Subscriptions for native input on the embedded GenomeSpy canvas.

Properties

subscribe

subscribe: (type, listener) => () => void

Subscribes synchronously before Core handles the event and returns an unsubscribe function.

Parameters

Parameter Type
type NativeEventType
listener (event) => void

Returns

() => void