A TypeScript plugin for BetterScroll that provides enhanced mouse wheel scrolling capabilities with configurable speed, direction, easing, and boundary damping on PC platforms.
98
Pending
Does it follow best practices?
Impact
98%
1.03xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"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
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10