Browse Source

docs: fix role typos in startSpeaking/stopSpeaking (#24550)

szTheory 4 years ago
parent
commit
3b250b649b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/api/menu.md

+ 2 - 2
docs/api/menu.md

@@ -195,8 +195,8 @@ const template = [
         {
           label: 'Speech',
           submenu: [
-            { role: 'startspeaking' },
-            { role: 'stopspeaking' }
+            { role: 'startSpeaking' },
+            { role: 'stopSpeaking' }
           ]
         }
       ] : [