Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
budnix committed Nov 3, 2015
1 parent ae9304f commit 7788ab6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ Handsontable.Core = function Core(rootElement, userSettings) {
* @param {Number} [c] From col
* @param {Number} [r2] To row
* @param {Number} [c2] To col
* @returns {Array|Object}
* @returns {Array}
*/
this.getData = function(r, c, r2, c2) {
if (typeof r === 'undefined') {
Expand Down Expand Up @@ -1860,9 +1860,12 @@ Handsontable.Core = function Core(rootElement, userSettings) {
/**
* Returns a single value from the data.
*
* @memberof Core#
* @function getSourceDataAtCell
* @param {Number} row Row index.
* @param {Number} column Column index.
* @returns {String|Number}
* @returns {*}
* @since 0.20.0
*/
this.getSourceDataAtCell = function(row, column) {
return dataSource.getAtCell(row, column);
Expand Down Expand Up @@ -3968,6 +3971,7 @@ DefaultSettings.prototype = {
* // as a array with initial widths (column at 0 index has 40px and column at 1 index has 50px)
* manualColumnResize: [40, 50]
* ...
* ```
*
* @type {Boolean|Array}
* @default undefined
Expand Down Expand Up @@ -4010,6 +4014,7 @@ DefaultSettings.prototype = {
* // as a array with initial heights (row at 0 index has 40px and row at 1 index has 50px)
* manualRowResize: [40, 50]
* ...
* ```
*
* @type {Boolean|Array}
* @default undefined
Expand Down
4 changes: 4 additions & 0 deletions src/plugins/contextMenu/contextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,17 @@ class ContextMenu extends BasePlugin {

/**
* On menu after open listener.
*
* @private
*/
onMenuAfterOpen() {
this.hot.runHooks('afterContextMenuShow', this);
}

/**
* On menu after close listener.
*
* @private
*/
onMenuAfterClose() {
this.hot.listen();
Expand Down

0 comments on commit 7788ab6

Please sign in to comment.