Input Clear Hook

Is there a way to hook into input’s clear event from an autocomplete function?

i dont fully understand what you need,
i use vuejs and make my own eventBus, but you can do it with f7 bus

  mounted () {
    this.$eventBus.$on(`clear-input-${}`, this.clearInput)
  beforeDestroy () {
    this.$eventBus.$off(`clear-input-${}`, this.clearInput)

just remember to unbind the event when not need it
f7 event bus doc