Skip to content

Commit

Permalink
Merge pull request #1370 from nextcloud/enh/app-navigation-item-menu-…
Browse files Browse the repository at this point in the history
…placement

New prop for AppNavigationItem to set actions/menu placement
  • Loading branch information
skjnldsv authored Sep 2, 2020
2 parents dd0a52d + 5381f0d commit 589fe67
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/AppNavigationItem/AppNavigationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ Just set the `pinned` prop.
<div v-if="hasUtils" class="app-navigation-entry__utils">
<slot name="counter" />
<Actions menu-align="right"
:placement="menuPlacement"
:open="menuOpen"
:force-menu="forceMenu"
:default-icon="menuIcon"
Expand Down Expand Up @@ -317,6 +318,13 @@ export default {
type: String,
default: undefined,
},
/**
* The action's menu direction
*/
menuPlacement: {
type: String,
default: 'bottom',
},
},

data() {
Expand Down

0 comments on commit 589fe67

Please sign in to comment.