Skip to content

Commit

Permalink
feat(facade): f-worksheet add getName method (#2042)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljcoder2015 committed Apr 25, 2024
1 parent bec1944 commit 10cc6e1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/facade/src/apis/sheets/f-worksheet.ts
Expand Up @@ -39,6 +39,14 @@ export class FWorksheet {
return this._worksheet.getSheetId();
}

/**
* Returns the name of the worksheet.
* @returns name of the worksheet
*/
getName(): string {
return this._worksheet.getName();
}

getSelection(): FSelection | null {
const selections = this._selectionManagerService.getSelections();
if (!selections) {
Expand Down

0 comments on commit 10cc6e1

Please sign in to comment.