cinema/search.riot

18 lines
264 B
Plaintext
Raw Normal View History

2022-04-01 23:57:41 +02:00
<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>