widget/WaypointTable

Vue SFC used as a widget to show waypoints in a array given as props. The waypoints are shown in a html table generated with vue v-for. The table contains a colomn of buttons use to delete the row they are in and, at the same time, delete the corresponding waypoint in the array. This component have the following dependency : Bootstrap-Vue for styling.

Props

Name Type Default value Required? Description
waypointList Array.<Object> - Yes Lists the current waypoints

Methods

removeWaypointFromList(index)

Used to clear the patrol or empty the waypoint list.
Source:
Parameters:
Name Type Description
index Number Index of the waypoint to remove from list.