• 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
..
messaging Loading commit data...
test Loading commit data...
config-fragment.js Loading commit data...
frame-error-capture.js Loading commit data...
injector.js Loading commit data...
listener-collection.js Loading commit data...
presentational-component.js Loading commit data...
prompts.js Loading commit data...
random.js Loading commit data...
renderer-options.js Loading commit data...
shortcut.js Loading commit data...
type-coercions.js Loading commit data...
user-agent.js Loading commit data...
warn-once.js Loading commit data...