Skip to content

Commit a3f3f7e

Browse files
committed
Merge pull request #2028 from mamrehn/patch-1
Fix api documentation for scrollbars.
2 parents 4f3eb26 + 74a61a5 commit a3f3f7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/js/core/factories/GridOptions.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -196,17 +196,17 @@ angular.module('ui.grid')
196196
* @ngdoc boolean
197197
* @name enableVerticalScrollbar
198198
* @propertyOf ui.grid.class:GridOptions
199-
* @description uiGridConstants.scrollbar.ALWAYS by default. This settings controls the vertical scrollbar for the grid.
200-
* Supported values: uiGridConstants.scrollbar.ALWAYS, uiGridConstants.scrollbar.NEVER, uiGridConstants.scrollbar.WHEN_NEEDED.
199+
* @description uiGridConstants.scrollbars.ALWAYS by default. This settings controls the vertical scrollbar for the grid.
200+
* Supported values: uiGridConstants.scrollbars.ALWAYS, uiGridConstants.scrollbars.NEVER, uiGridConstants.scrollbars.WHEN_NEEDED.
201201
*/
202202
baseOptions.enableVerticalScrollbar = typeof(baseOptions.enableVerticalScrollbar) !== "undefined" ? baseOptions.enableVerticalScrollbar : uiGridConstants.scrollbars.ALWAYS;
203203

204204
/**
205205
* @ngdoc boolean
206206
* @name enableHorizontalScrollbar
207207
* @propertyOf ui.grid.class:GridOptions
208-
* @description uiGridConstants.scrollbar.ALWAYS by default. This settings controls the horizontal scrollbar for the grid.
209-
* Supported values: uiGridConstants.scrollbar.ALWAYS, uiGridConstants.scrollbar.NEVER, uiGridConstants.scrollbar.WHEN_NEEDED.
208+
* @description uiGridConstants.scrollbars.ALWAYS by default. This settings controls the horizontal scrollbar for the grid.
209+
* Supported values: uiGridConstants.scrollbars.ALWAYS, uiGridConstants.scrollbars.NEVER, uiGridConstants.scrollbars.WHEN_NEEDED.
210210
*/
211211
baseOptions.enableHorizontalScrollbar = typeof(baseOptions.enableHorizontalScrollbar) !== "undefined" ? baseOptions.enableHorizontalScrollbar : uiGridConstants.scrollbars.ALWAYS;
212212

0 commit comments

Comments
 (0)