Skip to content

Commit 8ff9e40

Browse files
Portugal, Marcelomportuga
authored andcommitted
docs(ui-grid-menu-button.js): Fix service name in documentation.
fix #4460
1 parent f9971a5 commit 8ff9e40

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ angular.module('ui.grid')
44
.service('uiGridGridMenuService', [ 'gridUtil', 'i18nService', 'uiGridConstants', function( gridUtil, i18nService, uiGridConstants ) {
55
/**
66
* @ngdoc service
7-
* @name ui.grid.gridMenuService
7+
* @name ui.grid.uiGridGridMenuService
88
*
99
* @description Methods for working with the grid menu
1010
*/
1111

1212
var service = {
1313
/**
1414
* @ngdoc method
15-
* @methodOf ui.grid.gridMenuService
15+
* @methodOf ui.grid.uiGridGridMenuService
1616
* @name initialize
1717
* @description Sets up the gridMenu. Most importantly, sets our
1818
* scope onto the grid object as grid.gridMenuScope, allowing us
@@ -78,15 +78,15 @@ angular.module('ui.grid')
7878
/**
7979
* @ngdoc function
8080
* @name addToGridMenu
81-
* @propertyOf ui.grid.gridMenuService
81+
* @propertyOf ui.grid.uiGridGridMenuService
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
8585
* remove again, which can simplify management of which items are included
8686
* in the menu when. (Noting that in most cases the shown and active functions
8787
* provide a better way to handle visibility of menu items)
8888
* @param {Grid} grid the grid on which we are acting
89-
* @param {array} items menu items in the format as described in the tutorial, with
89+
* @param {array} menuItems menu items in the format as described in the tutorial, with
9090
* the added note that if you want to use remove you must also specify an `id` field,
9191
* which is provided when you want to remove an item. The id should be unique.
9292
*
@@ -108,7 +108,7 @@ angular.module('ui.grid')
108108
/**
109109
* @ngdoc function
110110
* @name removeFromGridMenu
111-
* @methodOf ui.grid.gridMenuService
111+
* @methodOf ui.grid.uiGridGridMenuService
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
@@ -162,7 +162,7 @@ angular.module('ui.grid')
162162
*/
163163
/**
164164
* @ngdoc method
165-
* @methodOf ui.grid.gridMenuService
165+
* @methodOf ui.grid.uiGridGridMenuService
166166
* @name getMenuItems
167167
* @description Decides the menu items to show in the menu. This is a
168168
* combination of:
@@ -236,7 +236,7 @@ angular.module('ui.grid')
236236
*/
237237
/**
238238
* @ngdoc method
239-
* @methodOf ui.grid.gridMenuService
239+
* @methodOf ui.grid.uiGridGridMenuService
240240
* @name showHideColumns
241241
* @description Adds two menu items for each of the columns in columnDefs. One
242242
* menu item for hide, one menu item for show. Each is visible when appropriate
@@ -301,7 +301,7 @@ angular.module('ui.grid')
301301

302302
/**
303303
* @ngdoc method
304-
* @methodOf ui.grid.gridMenuService
304+
* @methodOf ui.grid.uiGridGridMenuService
305305
* @name setMenuItemTitle
306306
* @description Handles the response from gridMenuTitleFilter, adding it directly to the menu
307307
* item if it returns a string, otherwise waiting for the promise to resolve or reject then
@@ -332,7 +332,7 @@ angular.module('ui.grid')
332332

333333
/**
334334
* @ngdoc method
335-
* @methodOf ui.grid.gridMenuService
335+
* @methodOf ui.grid.uiGridGridMenuService
336336
* @name toggleColumnVisibility
337337
* @description Toggles the visibility of an individual column. Expects to be
338338
* provided a context that has on it a gridColumn, which is the column that

0 commit comments

Comments
 (0)