ModalEditSegment
Props
Name | Description | Type | Default |
---|---|---|---|
segmentIndex | Index of segment | number | |
metaIndex | Current metaIndex of segment | number | |
metadata | Array of found metadata of segment | Metadata | |
url | Url for editing segment | string | |
peaks | Computed peaks for segment | Array (optional) |
Events
Event name | Properties | Description |
---|---|---|
ok | metaIndex number - new value for metaIndex | Emits an event 'ok' when the "OK" action is triggered. |
cancel | Emits an event 'cancel' when the "Cancel" action is triggered. | |
updatePeaks | value number[] - Array of peak values. | Emits an event when file's peaks are computed. |