FreeTube/src/renderer/components/ft-input/ft-input.vue

24 lines
468 B
Vue
Raw Normal View History

2020-02-16 19:30:00 +01:00
<template>
<div
class="ft-input-component"
:class="{ search: forceTextColor }"
>
2020-02-16 19:30:00 +01:00
<input
:id="id"
class="ft-input"
type="text"
:placeholder="placeholder"
2020-04-14 04:59:25 +02:00
@input="e => inputData = e.target.value"
2020-02-16 19:30:00 +01:00
>
<font-awesome-icon
v-if="showArrow"
icon="arrow-right"
class="inputAction"
@click="handleClick"
2020-02-16 19:30:00 +01:00
/>
</div>
</template>
<script src="./ft-input.js" />
<style scoped src="./ft-input.css" />