Tooltip

Copy to clipboard
Attribute Type Documentation Default Value
id :any

HTML id used as the tooltip id prefix

Required content * :string

tooltip text content

position :string

tooltip position relative to trigger

"top"
color :string

tooltip color variant

"primary"
open :boolean

optional server-controlled visibility; omit for browser-owned interest state

class :any

additional CSS classes on the tooltip surface

rest :global
Required inner_block * :slot

element the tooltip is attached to

<.dm_btn variant="outline" shape="square" {trigger_attrs}>
  <.dm_mdi name="content-copy" />
</.dm_btn>