search

Home  >  Q&A  >  body text

javascript - vue gets cursor position

In the vue table, when the cursor moves to a certain tr/td, an event is triggered. Is there any relevant API

欧阳克欧阳克2721 days ago936

reply all(4)I'll reply

  • 大家讲道理

    大家讲道理2017-06-12 09:31:59

    Cursor, input box? ? , try focus

    reply
    0
  • 大家讲道理

    大家讲道理2017-06-12 09:31:59

    input v-on:focus="method()"
    input v-on:blur="method()"
    input v-on:input="method()"

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-06-12 09:31:59

    Thank you everyone, it was solved just after mentioning it, using mouseenter. .

    reply
    0
  • 欧阳克

    欧阳克2017-06-12 09:31:59

    1.keyup
    2.blur
    There are many more events that can be triggered

    reply
    0
  • Cancelreply