mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
chore: remove obsolete comment
This commit is contained in:
parent
89f76d102b
commit
fb2792e80b
3 changed files with 0 additions and 12 deletions
|
@ -1,10 +1,5 @@
|
|||
import { defineAsyncComponent, ref } from 'vue'
|
||||
|
||||
/**
|
||||
* Add an "infinite scroll" functionality to any component using this mixin.
|
||||
* Such a component should have a `scrolling` method bound to `scroll` event on
|
||||
* the wrapper element: @scroll="scrolling"
|
||||
*/
|
||||
export const useInfiniteScroll = (perPage = 30) => {
|
||||
const ToTopButton = defineAsyncComponent(() => import('@/components/ui/BtnScrollToTop.vue'))
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* Add necessary functionalities into a view that contains a song-list component.
|
||||
*/
|
||||
import { ComponentInternalInstance, computed, getCurrentInstance, reactive, Ref, ref } from 'vue'
|
||||
import isMobile from 'ismobilejs'
|
||||
|
||||
|
|
|
@ -2,10 +2,6 @@ import { Ref } from 'vue'
|
|||
import { favoriteStore, playlistStore, queueStore } from '@/stores'
|
||||
import { alerts, pluralize } from '@/utils'
|
||||
|
||||
/**
|
||||
* Includes the methods trigger-able on a song (context) menu.
|
||||
* Each component including this mixin must have a `songs` array as either data, prop, or computed.
|
||||
*/
|
||||
export const useSongMenuMethods = (songs: Ref<Song[]>, close: Closure) => {
|
||||
const queueSongsAfterCurrent = () => {
|
||||
queueStore.queueAfterCurrent(songs.value)
|
||||
|
|
Loading…
Reference in a new issue