@betterbugs/rrweb-plugin-sequential-id-record
v2.0.0-alpha.25
Published
Use this plugin in combination with the [@betterbugs/rrweb-plugin-sequential-id-replay](../rrweb-plugin-sequential-id-replay) plugin to record and replay events with a sequential id. See the [guide](../../../guide.md) for more info on rrweb.
Downloads
489
Readme
@betterbugs/rrweb-plugin-sequential-id-record
Use this plugin in combination with the @betterbugs/rrweb-plugin-sequential-id-replay plugin to record and replay events with a sequential id. See the guide for more info on rrweb.
Installation
npm install @betterbugs/rrweb-plugin-sequential-id-recordUsage
import rrweb from 'rrweb';
import { getRecordSequentialIdPlugin } from '@betterbugs/rrweb-plugin-sequential-id-record';
rrweb.record({
emit: function emit(event) {
// send events to server
},
plugins: [
getRecordSequentialIdPlugin({
key: '_sid', // default value
}),
],
});Sponsors
Become a sponsor and get your logo on our README on Github with a link to your site.
Gold Sponsors 🥇
Silver Sponsors 🥈
Bronze Sponsors 🥉
