File tree 1 file changed +2
-4
lines changed 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ npm install --save ngx-diff2html
76
76
| -------------------- | ----------------- | ------------------------------------ | --------------------------
77
77
| left | string | Yes | First text to be compared
78
78
| right | string | Yes | Second text to be compared
79
- | filename | string | Optional, default: ` ` (empty) | Can be used to display a filename at the top of diff results
79
+ | filename | string | Optional, default: '' (empty) | Can be used to display a filename at the top of diff results
80
80
| format | ` DiffFormat ` | Optional, default: ` side-by-side ` | Possible values:<br > - ` side-by-side ` <br > - ` line-by-line `
81
81
| style | ` DiffStyle ` | Optional, default: ` word ` | Possible values:<br > - ` word ` <br > - ` char `
82
82
@@ -110,9 +110,7 @@ import { NgxDiff2htmlService } from 'ngx-diff2html';
110
110
111
111
@Component ({
112
112
selector: ' app-root' ,
113
- template: `
114
- <div [innerHtml]="diffHTML"></div>
115
- ` ,
113
+ template: ` <div [innerHtml]="diffHTML"></div> ` ,
116
114
styles: [],
117
115
providers: [
118
116
NgxDiff2htmlService
You can’t perform that action at this time.
0 commit comments