Skip to content

Commit 5328e70

Browse files
docs(menu): clarity in shouldOpen param
Co-authored-by: Brandy Smith <[email protected]>
1 parent 7403acf commit 5328e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/menu/menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ export class Menu implements ComponentInterface, MenuI {
404404
* Opens or closes the menu.
405405
* If the operation can't be completed successfully, it returns `false`.
406406
*
407-
* @param shouldOpen If `true`, attempt to open the menu.
407+
* @param shouldOpen If `true`, the menu will open. If `false`, the menu will close.
408408
* @param animated If `true`, open or close the menu with animation. Defaults to `true`.
409409
* @param role The role of the element that is closing the menu.
410410
*/

0 commit comments

Comments
 (0)