Skip to content

Commit

Permalink
wip: 完善事件总线事件系统
Browse files Browse the repository at this point in the history
  • Loading branch information
wangrongding committed Apr 18, 2024
1 parent 1350378 commit c5ef61e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/bus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ type Events = {
value: string // 图片地址 url | 视频地址 url | 文本内容 | SVG ...
type: string // 元素类型
}
'element:align': 'left' | 'center' | 'right' | 'top' | 'middle' | 'bottom' // 对齐方式
'video:skip': number // 跳转视频
'canvas:fullscreen'?: boolean // 全屏
}
Expand Down

0 comments on commit c5ef61e

Please sign in to comment.