Skip to content

Commit b66df1c

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

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
@@ -393,7 +393,7 @@ export class Menu implements ComponentInterface, MenuI {
393393
* Toggles the menu. If the menu is already open, it will try to close, otherwise it will try to open it.
394394
* If the operation can't be completed successfully, it returns `false`.
395395
*
396-
* @param animated If `true`, toggle the menu with animation. Defaults to `true`.
396+
* @param animated If `true`, the menu will animate when opening/closing. If `false`, the menu will open/close instantly without animation. Defaults to `true`.
397397
*/
398398
@Method()
399399
toggle(animated = true): Promise<boolean> {

0 commit comments

Comments
 (0)