Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 316 Bytes

useStartTyping.md

File metadata and controls

18 lines (13 loc) · 316 Bytes

useStartTyping

React sensor hook that fires a callback when user starts typing. Can be used to focus default input field on the page.

Usage

import {useStartTyping} from 'vue-next-use';

const Demo = {
  setup(){
      useStartTyping(() => alert('Started typing...'));

      return null;
  }
};