Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
liihuu committed May 10, 2024
1 parent 36e8d10 commit 0dad5dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/components/customize/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
</template>

<script setup>
import { onMounted, ref } from 'vue'
import { useData } from 'vitepress'
import FeatureList from './FeatureList.vue'
Expand Down Expand Up @@ -94,6 +93,7 @@ const { lang } = useData()
border-radius: 8px;
background-color: var(--vp-c-bg-soft);
transform: scale(1);
transform-origin: center bottom;
transition: all 0.25s ease-in-out;
cursor: pointer;
max-width: 400px;
Expand Down
2 changes: 1 addition & 1 deletion docs/en-US/guide/overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Customize an overlay, then add it globally through `klinecharts.registerOverlay`
onPressedMoving?: (event: OverlayEvent) => boolean

// Hold down and drag to end the callback event, which can be defaulted
onPressedMoveEnd: (event: OverlayEvent) => boolean
onPressedMoveEnd?: (event: OverlayEvent) => boolean

// Mouse move event, can be default
onMouseEnter?: (event: OverlayEvent) => boolean
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
onPressedMoving?: (event: OverlayEvent) => boolean

// 按住拖动结束回调事件,可缺省
onPressedMoveEnd: (event: OverlayEvent) => boolean
onPressedMoveEnd?: (event: OverlayEvent) => boolean

// 鼠标移入事件,可缺省
onMouseEnter?: (event: OverlayEvent) => boolean
Expand Down

0 comments on commit 0dad5dd

Please sign in to comment.