Popover

Anchored above the command invoker.
Attribute Type Documentation Default Value
id :any

HTML id attribute

class :any

additional CSS classes

open :boolean

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

trigger_mode :string

click uses command; hover and focus use interestfor

"click"
placement :string

preferred placement of the popover

"bottom"
offset :integer

distance in pixels between trigger and popover

8
arrow :boolean

show arrow pointing to trigger

true
rest :global
Required trigger * :slot

The element that triggers the popover

<:trigger :let={trigger_attrs}>
  <button type="button" class="btn btn-secondary" {trigger_attrs}>Open above</button>
</:trigger>
Anchored above the command invoker.
inner_block :slot

Popover content