@@ -4,15 +4,15 @@ angular.module('ui.grid')
4
4
. service ( 'uiGridGridMenuService' , [ 'gridUtil' , 'i18nService' , 'uiGridConstants' , function ( gridUtil , i18nService , uiGridConstants ) {
5
5
/**
6
6
* @ngdoc service
7
- * @name ui.grid.gridMenuService
7
+ * @name ui.grid.uiGridGridMenuService
8
8
*
9
9
* @description Methods for working with the grid menu
10
10
*/
11
11
12
12
var service = {
13
13
/**
14
14
* @ngdoc method
15
- * @methodOf ui.grid.gridMenuService
15
+ * @methodOf ui.grid.uiGridGridMenuService
16
16
* @name initialize
17
17
* @description Sets up the gridMenu. Most importantly, sets our
18
18
* scope onto the grid object as grid.gridMenuScope, allowing us
@@ -78,15 +78,15 @@ angular.module('ui.grid')
78
78
/**
79
79
* @ngdoc function
80
80
* @name addToGridMenu
81
- * @propertyOf ui.grid.gridMenuService
81
+ * @propertyOf ui.grid.uiGridGridMenuService
82
82
* @description add items to the grid menu. Used by features
83
83
* to add their menu items if they are enabled, can also be used by
84
84
* end users to add menu items. This method has the advantage of allowing
85
85
* remove again, which can simplify management of which items are included
86
86
* in the menu when. (Noting that in most cases the shown and active functions
87
87
* provide a better way to handle visibility of menu items)
88
88
* @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
90
90
* the added note that if you want to use remove you must also specify an `id` field,
91
91
* which is provided when you want to remove an item. The id should be unique.
92
92
*
@@ -108,7 +108,7 @@ angular.module('ui.grid')
108
108
/**
109
109
* @ngdoc function
110
110
* @name removeFromGridMenu
111
- * @methodOf ui.grid.gridMenuService
111
+ * @methodOf ui.grid.uiGridGridMenuService
112
112
* @description Remove an item from the grid menu based on a provided id. Assumes
113
113
* that the id is unique, removes only the last instance of that id. Does nothing if
114
114
* the specified id is not found. If there is no gridMenuScope or registeredMenuItems
@@ -162,7 +162,7 @@ angular.module('ui.grid')
162
162
*/
163
163
/**
164
164
* @ngdoc method
165
- * @methodOf ui.grid.gridMenuService
165
+ * @methodOf ui.grid.uiGridGridMenuService
166
166
* @name getMenuItems
167
167
* @description Decides the menu items to show in the menu. This is a
168
168
* combination of:
@@ -236,7 +236,7 @@ angular.module('ui.grid')
236
236
*/
237
237
/**
238
238
* @ngdoc method
239
- * @methodOf ui.grid.gridMenuService
239
+ * @methodOf ui.grid.uiGridGridMenuService
240
240
* @name showHideColumns
241
241
* @description Adds two menu items for each of the columns in columnDefs. One
242
242
* menu item for hide, one menu item for show. Each is visible when appropriate
@@ -301,7 +301,7 @@ angular.module('ui.grid')
301
301
302
302
/**
303
303
* @ngdoc method
304
- * @methodOf ui.grid.gridMenuService
304
+ * @methodOf ui.grid.uiGridGridMenuService
305
305
* @name setMenuItemTitle
306
306
* @description Handles the response from gridMenuTitleFilter, adding it directly to the menu
307
307
* item if it returns a string, otherwise waiting for the promise to resolve or reject then
@@ -332,7 +332,7 @@ angular.module('ui.grid')
332
332
333
333
/**
334
334
* @ngdoc method
335
- * @methodOf ui.grid.gridMenuService
335
+ * @methodOf ui.grid.uiGridGridMenuService
336
336
* @name toggleColumnVisibility
337
337
* @description Toggles the visibility of an individual column. Expects to be
338
338
* provided a context that has on it a gridColumn, which is the column that
0 commit comments