public interface EventDispatcherProvider
ReactContext
to
provide a first-class API for accessing the EventDispatcher
from the UIManager
.Modifier and Type | Method and Description |
---|---|
EventDispatcher |
getEventDispatcher()
This method should always return an EventDispatcher, even if the instance doesn't exist; in
that case it should return the empty
BlackHoleEventDispatcher . |
EventDispatcher getEventDispatcher()
BlackHoleEventDispatcher
.EventDispatcher
to emit events to JS.