Reorder prop

This commit is contained in:
Cory LaViska
2020-06-24 08:11:08 -04:00
parent cc6a39b638
commit d64ab88fd2

View File

@@ -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();