Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Aug 9, 2024
1 parent 41d8fae commit bf47ad7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion app/assets/javascripts/components/input_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,16 @@ type ScoreItem = {

type ColumnWithTooltip = Column & { tooltip?: string };


/**
* A spreadsheet table to edit score items.
*
* @element d-score-item-input-table
*
* @fires cancel - When the cancel button is clicked.
*
* @prop {string} route - The route to send the updated score items to.
* @prop {ScoreItem[]} scoreItems - The original score items, that will be displayed in the table.
*/
@customElement("d-score-item-input-table")
export class ScoreItemInputTable extends DodonaElement {

Check warning on line 33 in app/assets/javascripts/components/input_table.ts

View check run for this annotation

Codecov / codecov/patch

app/assets/javascripts/components/input_table.ts#L33

Added line #L33 was not covered by tests
@property({ type: String })
Expand Down

0 comments on commit bf47ad7

Please sign in to comment.