Skip to main content

Tooltip

Import​

import { Tooltip } from '@resultadosdigitais/tangram-components'

Properties​

id​

Typestring | number

Description​

Sets the id. Responsible to connect accessibly tip id in other element. The id value is used in aria-describedby.

text πŸ“β€‹

Concerns
πŸ“ Required
Typestring

Description​

Sets the Tooltip text.

position​

Type
Enum of:
  • Tooltip.positions.TOP
  • Tooltip.positions.RIGHT
  • Tooltip.positions.BOTTOM
  • Tooltip.positions.LEFT
  • Tooltip.positions.top
  • Tooltip.positions.right
  • Tooltip.positions.bottom
  • Tooltip.positions.left
DefaultTooltip.positions.top

Description​

Sets the position. Supporting attributes Tooltip.positions.TOP, Tooltip.positions.RIGHT, Tooltip.positions.BOTTOM and Tooltip.positions.LEFT are deprecated.

Feedback​