CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-better-scroll--mouse-wheel

A TypeScript plugin for BetterScroll that provides enhanced mouse wheel scrolling capabilities with configurable speed, direction, easing, and boundary damping on PC platforms.

98

1.03x
Quality

Pending

Does it follow best practices?

Impact

98%

1.03x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-8/

{
  "context": "This criteria evaluates how well the engineer uses BetterScroll's state management methods (enable, disable, refresh, destroy) to implement a dynamic content scroller with proper lifecycle management.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "BScroll instantiation",
      "description": "Creates a BScroll instance using 'new BScroll(wrapper, options)' with the wrapper element and appropriate configuration options",
      "max_score": 15
    },
    {
      "name": "enable() usage",
      "description": "Uses the BScroll 'enable()' method to enable scrolling functionality in the enableScroll() method",
      "max_score": 20
    },
    {
      "name": "disable() usage",
      "description": "Uses the BScroll 'disable()' method to disable scrolling functionality in the disableScroll() method",
      "max_score": 20
    },
    {
      "name": "refresh() usage",
      "description": "Uses the BScroll 'refresh()' method to recalculate scroll boundaries after content changes in the updateContent() method",
      "max_score": 25
    },
    {
      "name": "destroy() usage",
      "description": "Uses the BScroll 'destroy()' method to properly clean up all resources and event listeners in the cleanup() method",
      "max_score": 20
    }
  ]
}

tile.json