A shiny module that contains the UI and server logic for a single row (or a single set of coordinates) of a custom score.
Arguments
- id
The namespace of the module.
- n
The row number - unique for every row.
- x
The initial value of the x coordinate.
- y
The initial value of the y coordinate.
Value
The server returns a tibble::tibble_row()
containing the x and y
coordinates.
Details
Note that the row number (n
) may not reflect the actual position of the row
within the app. As an example, consider three rows (n
is 1, 2 and 3
respectively). If the second row is deleted, since the UI is not changed, the
row which will now be second will have a row number of 3.