From 6d005ff137e834f297fcd6e96dea37df492f9e57 Mon Sep 17 00:00:00 2001 From: Aayush Chhabra <31809826+aayushchhabra@users.noreply.github.com> Date: Fri, 15 Feb 2019 10:29:33 -0800 Subject: [PATCH] docs: Remove redundant 'Instance Events' Headline (#16865) --- docs/api/menu.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/api/menu.md b/docs/api/menu.md index e89091d4a75..6a2e3c513e8 100644 --- a/docs/api/menu.md +++ b/docs/api/menu.md @@ -107,7 +107,7 @@ Inserts the `menuItem` to the `pos` position of the menu. ### Instance Events -Objects created with `new Menu` emit the following events: +Objects created with `new Menu` or returned by `Menu.buildFromTemplate` emit the following events: **Note:** Some events are only available on specific operating systems and are labeled as such. @@ -139,11 +139,6 @@ A `MenuItem[]` array containing the menu's items. Each `Menu` consists of multiple [`MenuItem`](menu-item.md)s and each `MenuItem` can have a submenu. -### Instance Events - -Objects created with `new Menu` or returned by `Menu.buildFromTemplate` emit -the following events: - ## Examples The `Menu` class is only available in the main process, but you can also use it