Browse Source

docs: Mention payload in action handler in API (#1173)

st-sloth 7 years ago
parent
commit
945f4e4677
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docs/en/api.md

+ 2 - 0
docs/en/api.md

@@ -42,6 +42,8 @@ const store = new Vuex.Store({ ...options })
       rootGetters // same as `store.getters`, only in modules
       rootGetters // same as `store.getters`, only in modules
     }
     }
     ```
     ```
+    
+    And also receives a second `payload` argument if there is one.
 
 
     [Details](actions.md)
     [Details](actions.md)