add shortscuts

add open/close action
This commit is contained in:
Simon Vieille
2025-04-07 22:52:52 +02:00
parent b287b671be
commit ecbe2f7d72
12 changed files with 331 additions and 356 deletions
+2 -9
View File
@@ -18,19 +18,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="side-menu-search">
<input
type="text"
:value="value"
:placeholder="t('side_menu', 'Search')"
@input="emit('input', $event.target.value)"
v-model="model"
/>
</div>
</template>
<script setup>
const emit = defineEmits('input')
const { value } = defineProps({
value: {
type: String,
required: true,
},
})
const model = defineModel()
</script>