• Robert Knight's avatar
    Make `ListenerCollection.add` smarter · b436080d
    Robert Knight authored
    Enable the `ListenerCollection.add` method to know the specific type of
    event that a listener will receive, based on the event target and event
    name. This simplifies usage by removing the need to cast the argument in
    most cases.
    
    The implementation relies on the target having an `on${eventName}`
    property from which the event type can be extracted. If it doesn't, it
    will fall back to `Event`.
    b436080d
Name
Last commit
Last update
..
components Loading commit data...
config Loading commit data...
helpers Loading commit data...
services Loading commit data...
store Loading commit data...
test Loading commit data...
util Loading commit data...
cross-origin-rpc.js Loading commit data...
icons.js Loading commit data...
index.js Loading commit data...
markdown-commands.js Loading commit data...
media-embedder.js Loading commit data...
render-markdown.js Loading commit data...
search-client.js Loading commit data...
service-context.js Loading commit data...
websocket.js Loading commit data...