Added documentation to get_anchor_index function

This commit is contained in:
Safia Abdalla 2015-12-12 15:57:43 -06:00
parent a7f05697cc
commit 646a388448

View File

@ -625,6 +625,11 @@ define(function (require) {
}
};
/**
* Returns the index of the cell that the selection is currently anchored on.
*
* @return {integer} Index of first cell selected in selection
*/
Notebook.prototype.get_anchor_index = function () {
var result = null;
this.get_cell_elements().filter(function (index) {