spz-tooltip
When to Use
Can be used to replace the system's default title tooltip.
- Tooltip shows when the mouse enters and disappears when it leaves.
- Tooltip shows on mouse click.
Code Demonstration
Basic Usage
The simplest usage.
Position
There are 6 directions for the position.
Custom Tooltip Content
When the content attribute is not configured, it will look for the content of the first child element inside spz-tooltip, which must have only one root element.
Properties
Methods
close
Close the Tooltip, no parameters needed.
AI Summary (LLM Ready)
- Component ID:
spz-tooltip - One-line purpose: Simple text tooltip bubble.
- Detected attribute rows: 0
- Detected method subsections: 1
- Detected event subsections: 0
- Top attribute names: none (needs manual completion)
- Top method names:
close - Top event names: none (needs manual completion)
- Reading order: start from usage/examples, then verify attributes, methods, and events.
- Related docs: /en/guide/actions-and-events/ , /en/guide/layouts/