Skip to content

Commit 57407ef

Browse files
committed
Doco(gridMenu): fix #2474 removeFromGridMenu documented twice
1 parent 57f556d commit 57407ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/core/directives/ui-grid-menu-button.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ angular.module('ui.grid')
7878
/**
7979
* @ngdoc function
8080
* @name addToGridMenu
81-
* @propertyOf ui.grid.class:GridOptions
81+
* @propertyOf ui.grid.gridMenuService
8282
* @description add items to the grid menu. Used by features
8383
* to add their menu items if they are enabled, can also be used by
8484
* end users to add menu items. This method has the advantage of allowing
@@ -108,7 +108,7 @@ angular.module('ui.grid')
108108
/**
109109
* @ngdoc function
110110
* @name removeFromGridMenu
111-
* @methodOf ui.grid.core.api:PublicApi
111+
* @methodOf ui.grid.gridMenuService
112112
* @description Remove an item from the grid menu based on a provided id. Assumes
113113
* that the id is unique, removes only the last instance of that id. Does nothing if
114114
* the specified id is not found. If there is no gridMenuScope or registeredMenuItems

0 commit comments

Comments
 (0)