diff --git a/src/composables/track_context.ts b/src/composables/track_context.ts new file mode 100644 index 0000000..fcb98de --- /dev/null +++ b/src/composables/track_context.ts @@ -0,0 +1,81 @@ +import Router from "../router"; + +interface Option { + type?: string; + label?: string; + action?: Function; + icon?: string; + critical?: Boolean; +} + +/** + * Returns a list of context menu items for a track. + * @param {any} track a track object. + * @return {Array