mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-01 12:56:54 +08:00
Added documentation to get_anchor_index function
This commit is contained in:
parent
a7f05697cc
commit
646a388448
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user