add shortscuts
add open/close action
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user