Selaa lähdekoodia

Document `uppy.once` in `docs/uppy.md` (#2960)

Co-authored-by: Merlijn Vos <merlijn@soverin.net>
a-kriya 3 vuotta sitten
vanhempi
commit
6afc518fda
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      website/src/docs/uppy.md

+ 4 - 0
website/src/docs/uppy.md

@@ -711,6 +711,10 @@ this.info({
 
 Subscribe to an uppy-event. See below for the full list of events.
 
+### `uppy.once('event', action)`
+
+Create an event listener that fires once. See below for the full list of events.
+
 ### `uppy.off('event', action)`
 
 Unsubscribe to an uppy-event. See below for the full list of events.