Have ideas to improve npm?Join in the discussion! »

    @hudk/judge-interactive

    1.0.0 • Public • Published

    judgeInteract

    judge if spcified types of event is programmatic trigger or user interact

    import

    npm install --save @hudk/judge-interactive
    

    usage

    require('@hudk/judge-interactive')
    

    functions

    addInteractiveEventListener(type, listener[, useCapture, options])
    
    listener: {
      userTriggerListener: Function,
      progTriggerListener: Function
    }
    [addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
    
    removeInteractiveEventListener(type, listener[, useCapture, options])
    
    listener: {
      userTriggerListener: Function,
      progTriggerListener: Function
    }
    [removeEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener)

    Keywords

    none

    Install

    npm i @hudk/judge-interactive

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    6.25 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar