How to use the clarity-js.Action.Move function in clarity-js

To help you get started, we’ve selected a few clarity-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / clarity-tools / src / visualization / parsers / perceivedLoadTimeLayout.ts View on Github external
render(state: IPerceivedElementLayoutState) {
        switch (state.action) {
            case Action.Insert:
                this.insert(state);
                break;
            case Action.Update:
                this.update(state);
                break;
            case Action.Remove:
                this.remove(state);
                break;
            case Action.Move:
                this.move(state);
                break;
        }
    }
}

clarity-js

An analytics library that uses web page interactions to generate aggregated insights

MIT
Latest version published 4 days ago

Package Health Score

90 / 100
Full package analysis