Skip to content

Commit

Permalink
fix(doc): fix docs start and end
Browse files Browse the repository at this point in the history
  • Loading branch information
HandsomeButterball authored and walkerkay committed Jun 22, 2021
1 parent 67eb9f7 commit febfaaa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $ yarn add @worktile/ngx-gantt
## Usage

```html
<ngx-gantt [start]="1514736000" end="1609430400"></ngx-gantt>
<ngx-gantt [start]="1514736000" [end]="1609430400"></ngx-gantt>
```


2 changes: 1 addition & 1 deletion docs/guides/intro/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ export class AppModule {

### 组件使用
```html
<ngx-gantt [start]="1514736000" end="1609430400"></ngx-gantt>
<ngx-gantt [start]="1514736000" [end]="1609430400"></ngx-gantt>
```
1 change: 0 additions & 1 deletion example/src/app/gantt-flat/flat.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@
{{ group.title }}
</ng-template>
</app-gantt-flat>

</div>
4 changes: 2 additions & 2 deletions example/src/app/gantt/gantt.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
<div class="gantt-demo-content">
<ngx-gantt
#gantt
start="1514736000"
end="1609430400"
[start]="1514736000"
[end]="1609430400"
[groups]="groups"
[items]="items"
[viewType]="options.viewType"
Expand Down

0 comments on commit febfaaa

Please sign in to comment.