Skip to content

Commit

Permalink
Merge branch 'feature/useOverlayManager' of https://github.com/genu/ui
Browse files Browse the repository at this point in the history
…into feature/useOverlayManager
  • Loading branch information
genu committed Feb 24, 2025
2 parents 1325151 + d5396cb commit 118f1b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/2.composables/use-overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function openModal() {
In order to return a value from the overlay, the `overlay.open()` can be awaited. In order for this to work, however, the **overlay component must emit a `close` event**. See example below for details.
::

## Overlay API
## API

### `create(component: T, options: OverlayOptions): OverlayInstance`

Expand Down Expand Up @@ -130,7 +130,7 @@ function updateModalTitle() {

## Example

Here's a complete example of how to use the `userOverlay` composable:
Here's a complete example of how to use the `useOverlay` composable:

```vue
<template>
Expand Down

0 comments on commit 118f1b1

Please sign in to comment.