跳转到内容

onLyricLineContextMenuAtom

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

Defined in: react-full/src/states/callback.ts:66

当试图对歌词行打开上下文菜单(例如右键点击)时触发的回调函数

Param

对应的歌词行事件对象