Преглед на файлове

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

Co-authored-by: Merlijn Vos <merlijn@soverin.net>
a-kriya преди 3 години
родител
ревизия
6afc518fda
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  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.