ant-design/components/slider/demo/show-tooltip.md
2019-05-07 14:57:32 +08:00

489 B
Raw Blame History

order title
7
zh-CN en-US
控制 ToolTip 的显示 Control visible of ToolTip

zh-CN

tooltipVisibletrue 时,将始终显示 ToolTip反之则始终不显示即使在拖动、移入时也是如此。

en-US

When tooltipVisible is true, ToolTip will show always, or ToolTip will not show anyway, even if dragging or hovering.

import { Slider } from 'antd';

ReactDOM.render(<Slider defaultValue={30} tooltipVisible />, mountNode);