cinema/search.riot
2022-04-01 23:57:41 +02:00

18 lines
264 B
Plaintext

<search>
<input oninput="{search}"></input>
<script>
export default
{
async search(e)
{
let data = await this.sa.searchMovie(e.target.value)
this.props.updateListFilm(data.results)
//console.log(data)
}
}
</script>
</search>