8.0.0 • Published 20 days ago

anys-web v8.0.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
20 days ago

Anys Web

Compose anys web features together.

Install

npm i anys-web
<script src="https://unpkg.com/anys-web"></script>

Usage

import { create } from 'anys-web';
<script>
    const { create } = window.anys;
</script>

API

create

Create an Anys instance which compose many features together, the plugins used:

  • AnysStoreOfflinePlugin
  • AnysMonitorUrlPlugin
  • AnysMonitorWindowSizePlugin
  • AnysMonitorDOMMutationPlugin
  • AnysIdentifyPlugin
  • AnysMonitorAjaxPlugin
  • AnysMonitorInputEventPlugin
  • AnysMonitorMouseEventPlugin
  • AnysMonitorWindowActivityPlugin
  • AnysMonitorTouchEventPlugin
  • AnysMonitorScrollEventPlugin
const anys = create({
    reportUrl: '/api/report',
});

Here you will have anys.plugins.recorder.