<template>
    <v-menu
        v-model="menu.visible"
        :position-x="menu.x"
        :position-y="menu.y"
        absolute
        offset-y
        right
        :close-on-content-click="false"
        :close-on-click="false"
    >
        <file-properties 
            :width="width"
            :height="height"
            :app="app"
            @close="menu.visible = false"
        />
                
    </v-menu>
</template>

<script>
    export default {
        
        props: {
            app: {required: true},
            menu: {required: true},
            width: {default: 640},
            height: {default: null},
        },

        name: 'FilePropertiesMenu',
    }
</script>