瀏覽代碼

docs: Link to uppy.info() in onBefore*() function descriptions.

Renée Kooi 7 年之前
父節點
當前提交
34a820b36b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      website/src/docs/uppy.md

+ 2 - 2
website/src/docs/uppy.md

@@ -118,7 +118,7 @@ onBeforeFileAdded: (currentFile, files) => {
 }
 ```
 
-Note: it’s up to you to show a notification to the user about file not passing validation. We recommend showing the info message and logging to console for debugging.
+Note: it’s up to you to show a notification to the user about file not passing validation. We recommend showing a message using [uppy.info()](#uppy-info) and logging to console for debugging.
 
 
 <a id="onBeforeUpload"></a>
@@ -154,7 +154,7 @@ onBeforeUpload: (files) => {
 }
 ```
 
-Note: it’s up to you to show a notification to the user about file not passing validation. We recommend showing the info message and logging to console for debugging.
+Note: it’s up to you to show a notification to the user about file not passing validation. We recommend showing a message using [uppy.info()](#uppy-info) and logging to console for debugging.
 
 ### `locale: {}`