跳转到内容

onLyricLineContextMenuAtom

const onLyricLineContextMenuAtom: PrimitiveAtom<Callback<[LyricLineMouseEvent, null | LyricPlayerRef], void>> & WithInitialValue<Callback<[LyricLineMouseEvent, null | LyricPlayerRef], void>>;

Defined in: packages/react-full/src/states/callbacks.ts:85

当用户试图对歌词行打开上下文菜单(例如右键点击)时触发。

Param

歌词行事件对象。

Param

播放器引用。