Skip to main content

touch

Description

Optional. Defines whether tooltips are enabled on touch devices

Usage

touch?: boolean;

Parameters

  • false - (default) tooltips are not shown on touch devices
  • true - tooltips are enabled on touch devices and appear on tap

Example

<Tooltip touch={true}>
<div data-tooltip-text="Touch tooltip">Tap me</div>
</Tooltip>

Related article: Configuring tooltip behavior

Related sample: Tooltip