Closed tjvr closed 7 years ago
Part of #25.
What?
onFoo
on('foo')
onNextFoo
once('foo')
emitFoo
emit('foo')
Why?
onTap(cb)
onDrag(cb)
onDrop(cb)
forever(cb)
@PullJosh Do you agree? :-)
Making lots of separate, similar functions feels a little weird, but it's probably the best (simplest) option for users.
Part of #25.
What?
onFoo
instead ofon('foo')
.onNextFoo
instead ofonce('foo')
.emitFoo
instead ofemit('foo')
(nb. only used internally anyway.))Why?
onTap(cb)
,onDrag(cb)
,onDrop(cb)
is more consistent withforever(cb)
.