Skip to content

Commit

Permalink
fix(kslideout): apply PR feedback
Browse files Browse the repository at this point in the history
Co-authored-by: Adam DeHaven <2229946+adamdehaven@users.noreply.github.com>
  • Loading branch information
portikM and adamdehaven authored Feb 16, 2024
1 parent c5537aa commit e5983a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/components/slideout.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Slideout

KSlideout is a slide-out container with optional backdrop overlay that opens on top of main content area.
KSlideout is a slide-out overlay container with optional backdrop that displays over the page content.

<KComponent
v-slot="{ data }"
Expand Down Expand Up @@ -196,6 +196,8 @@ A boolean whether or not the slideout should have background overlay. Defaults t

A boolean whether on not the slideout should close when user clicks outside the slideout content area. Defaults to `true`.

When set to false, the user can only close the slideout by pressing <kbd>Escape</kbd> or clicking the close button.

<KComponent
v-slot="{ data }"
:data="{ slideoutVisible: false }"
Expand Down Expand Up @@ -293,7 +295,7 @@ Slot for slideout content. The component container will have a scrollbar, should
title="Slideout Content"
@close="hideSlideout"
>
<p>Lorem ipsum dolor sit amet...
<p>Lorem ipsum dolor sit amet...</p>
</KSlideout>
```

Expand Down

0 comments on commit e5983a3

Please sign in to comment.