Skip to content

Commit 257de61

Browse files
authored
Update README.md
1 parent e66eb17 commit 257de61

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Jexcel with Angular
1+
# Jspreadsheet with Angular
22

33
## Style
44

@@ -7,11 +7,11 @@ Make sure import the CSS and JS classes in your angular.json file
77
<pre>
88
"styles": [
99
...
10-
"./node_modules/jexcel/dist/jexcel.css",
10+
"./node_modules/jspreadsheet-ce/dist/jexcel.css",
1111
"./node_modules/jsuites/dist/jsuites.css"
1212
],
1313
"scripts": [
14-
"./node_modules/jexcel/dist/jexcel.js",
14+
"./node_modules/jspreadsheet-ce/dist/jexcel.js",
1515
"./node_modules/jsuites/dist/jsuites.js"
1616
]
1717
</pre>
@@ -26,7 +26,7 @@ Make sure import the CSS and JS classes in your angular.json file
2626

2727
<pre>
2828
import { Component, OnInit, ViewChild, ElementRef, AfterViewInit } from '@angular/core';
29-
import * as jexcel from 'jexcel';
29+
import * as jspreadsheet from 'jspreadsheet-ce';
3030

3131
@Component({
3232
selector: 'app-jexcel-spreadsheet',
@@ -49,7 +49,7 @@ export class JexcelSpreadsheetComponent implements OnInit, AfterViewInit {
4949
}
5050

5151
ngAfterViewInit() {
52-
jexcel(this.spreadsheet.nativeElement, {
52+
jspreadsheet(this.spreadsheet.nativeElement, {
5353
data: this.data,
5454
columns: [
5555
{ title: 'Model', width: 300 },

0 commit comments

Comments
 (0)