Skip to content

Commit

Permalink
doc: update className of scrollbar #5656 (#5700)
Browse files Browse the repository at this point in the history
Co-authored-by: ben.wen <ben.wen@narwal.com>
  • Loading branch information
BENcorry and ben.wen committed Oct 31, 2023
1 parent a0f40c7 commit b41c36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/docs/spec/component/scrollbar.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ chart
chart.on('afterrender', () => {
const { canvas } = chart.getContext();
const { document } = canvas;
document.querySelector('.slider').addEventListener('valuechange', (evt) => {
document.querySelector('.g2-scrollbar').addEventListener('valuechange', (evt) => {
console.info(evt.detail);
});
});
Expand Down

0 comments on commit b41c36b

Please sign in to comment.