Skip to content

ModalEditSegment

Props

NameDescriptionTypeDefault
segmentIndexIndex of segmentnumber
metaIndexCurrent metaIndex of segmentnumber
metadataArray of found metadata of segmentMetadata
urlUrl for editing segmentstring
peaksComputed peaks for segmentArray (optional)

Events

Event namePropertiesDescription
okmetaIndex number - new value for metaIndexEmits an event 'ok' when the "OK" action is triggered.
cancelEmits an event 'cancel' when the "Cancel" action is triggered.
updatePeaksvalue number[] - Array of peak values.Emits an event when file's peaks are computed.

Released under the GNU GPLv3 License.