Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/components/toolbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ A floating toolbar that appears adjacent to a node. By default it shows when the
| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `position` | `string` | `'top'` | `'top'`, `'bottom'`, `'left'`, `'right'` |
| `align` | `string` | `'center'` | `'center'`, `'left'`, `'right'` |
| `align` | `string` | `'center'` | `'center'`, `'start'`, `'end'` |
| `offset` | `int` | `10` | Distance from node in pixels |
| `show` | `string` | `'selected'` | `'selected'` or `'always'` |

Expand Down Expand Up @@ -79,8 +79,8 @@ Show the toolbar regardless of selection state:
### Position and alignment

```blade
{{-- Bottom-right aligned --}}
<x-flow-toolbar position="bottom" align="right">
{{-- Bottom-end aligned --}}
<x-flow-toolbar position="bottom" align="end">
<button @click="removeNodes([node.id])">Delete</button>
</x-flow-toolbar>

Expand Down