mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 20:19:13 +00:00
Reorder prop
This commit is contained in:
@@ -47,9 +47,6 @@ export class Drawer {
|
||||
/** When true, the drawer will not be dismissed when the user clicks outside of it. */
|
||||
@Prop() pinned = false;
|
||||
|
||||
/** Adds an overlay when the drawer is open. */
|
||||
@Prop() overlay = false;
|
||||
|
||||
/**
|
||||
* Removes the header. This will also remove the default close button, so please ensure you provide an easy,
|
||||
* accessible way for users to dismiss the drawer.
|
||||
@@ -59,6 +56,9 @@ export class Drawer {
|
||||
/** Removes the footer. */
|
||||
@Prop() noFooter = false;
|
||||
|
||||
/** Adds an overlay when the drawer is open. */
|
||||
@Prop() overlay = false;
|
||||
|
||||
@Watch('open')
|
||||
handleOpenChange() {
|
||||
this.open ? this.show() : this.hide();
|
||||
|
||||
Reference in New Issue
Block a user