Skip to content

Commit

Permalink
docs: update tooltip cursor behavior, docs gen
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Jan 11, 2025
1 parent af69fa1 commit 121e305
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/components/examples/TooltipCursor/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const position = computed(() => ({
side="top"
:side-offset="12"
class="bg-card px-4 py-2 rounded-md text-sm border border-muted-foreground/30"
update-position-strategy="always"
>
Following

Expand Down
8 changes: 8 additions & 0 deletions docs/content/meta/SelectItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,11 @@
'required': true
}
]" />

<EmitsTable :data="[
{
'name': 'select',
'description': '<p>Event handler called when the selecting item. &lt;br&gt; It can be prevented by calling <code>event.preventDefault</code>.</p>\n',
'type': '[event: SelectEvent<AcceptableValue>]'
}
]" />
12 changes: 12 additions & 0 deletions docs/content/meta/TooltipContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@
'type': 'boolean',
'required': false
},
{
'name': 'positionStrategy',
'description': '<p>The type of CSS position property to use.</p>\n',
'type': '\'fixed\' | \'absolute\'',
'required': false
},
{
'name': 'side',
'description': '<p>The preferred side of the trigger to render against when open.\nWill be reversed when collisions occur and avoidCollisions\nis enabled.</p>\n',
Expand All @@ -86,6 +92,12 @@
'description': '<p>The sticky behavior on the align axis. <code>partial</code> will keep the\ncontent in the boundary as long as the trigger is at least partially\nin the boundary whilst &quot;always&quot; will keep the content in the boundary\nregardless.</p>\n',
'type': '\'partial\' | \'always\'',
'required': false
},
{
'name': 'updatePositionStrategy',
'description': '<p>Strategy to update the position of the floating element on every animation frame.</p>\n',
'type': '\'always\' | \'optimized\'',
'required': false
}
]" />

Expand Down

0 comments on commit 121e305

Please sign in to comment.