Skip to content

Commit 406b804

Browse files
docs(menu): clarity in animated param
Co-authored-by: Brandy Smith <[email protected]>
1 parent c42db79 commit 406b804

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
@@ -378,7 +378,7 @@ export class Menu implements ComponentInterface, MenuI {
378378
* Closes the menu. If the menu is already closed or it can't be closed,
379379
* it returns `false`.
380380
*
381-
* @param animated If `true`, close the menu with animation. Defaults to `true`.
381+
* @param animated If `true`, the menu will animate when closing. If `false`, the menu will close instantly without animation. Defaults to `true`.
382382
* @param role The role of the element that is closing the menu.
383383
* This can be useful in a button handler for determining which button was
384384
* clicked to close the menu. Some examples include:

0 commit comments

Comments
 (0)