Skip to content

Commit 84a1e2c

Browse files
authored
Update README.md
1 parent 1836221 commit 84a1e2c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,25 @@ Make sure import the CSS and JS classes in your angular.json file
2525
<pre>
2626
import { Component, OnInit, ViewChild, ElementRef, AfterViewInit } from '@angular/core';
2727
import * as jexcel from 'jexcel';
28+
2829
@Component({
2930
selector: 'app-jexcel-spreadsheet',
3031
templateUrl: './jexcel-spreadsheet.component.html',
3132
styleUrls: ['./jexcel-spreadsheet.component.css']
32-
})
33-
export class JexcelSpreadsheetComponent implements OnInit, AfterViewInit{
33+
});
34+
35+
export class JexcelSpreadsheetComponent implements OnInit, AfterViewInit {
3436
@ViewChild('spreadsheet') spreadsheet: ElementRef;
3537
constructor() { }
3638

37-
data = [
39+
var data = [
3840
['Mazda', 2001, 2000],
3941
['Pegeout', 2010, 5000],
4042
['Honda Fit', 2009, 3000],
4143
['Honda CRV', 2010, 6000],
4244
];
4345

4446
ngOnInit(): void {
45-
4647
}
4748

4849
ngAfterViewInit() {

0 commit comments

Comments
 (0)