src/app/issue-detail/issue-contents.component.ts
This component renders the contents of the issue: the issue body, timeline, and comment box.
selector | app-issue-contents |
styleUrls | issue-contents.component.scss |
templateUrl | issue-contents.component.html |
Properties |
|
Methods |
|
Inputs |
constructor(dataService: DataService)
|
||||||
Parameters :
|
issue$ | |
Type : DataNode<Issue>
|
|
The issue to be rendered. |
projectId | |
Type : string
|
|
The raw project ID. |
Public closeIssue |
closeIssue()
|
Closes the current issue.
Returns :
void
|
Public commentIssue |
commentIssue()
|
Adds a comment to the current issue with the data provided in the comment box.
Returns :
void
|
Public reopenIssue |
reopenIssue()
|
Reopens the currently closed issue.
Returns :
void
|
commentEditor |
Decorators :
@ViewChild('comment')
|
The comment editor (app-markdown-editor). |
Public savingComment |
Default value : false
|
True if the issue comment is currently being saved. |
issue-contents.component.scss