tessl install tessl/npm-vant@4.9.0Mobile UI Components library built on Vue 3 with 100+ components
Agent Success
Agent success rate when using this tile
74%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.07x
Baseline
Agent success rate without this tile
69%
Build a price range filter component for an e-commerce application that allows users to select a minimum and maximum price range using an interactive slider interface.
Provides mobile UI components including range selection controls.
Props:
initialMin (Number, default: 0): The initial minimum price valueinitialMax (Number, default: 1000): The initial maximum price valueEvents:
change: Emitted when the range changes, providing an object with min and max propertiesFile: price-filter.test.ts
Description: Verify that the component renders with default values and allows range adjustment.
Test Steps:
Expected Result:
{ min: 100, max: 800 }File: price-filter.test.ts
Description: Verify that the component respects custom initial values.
Test Steps:
initialMin: 200 and initialMax: 600Expected Result:
File: price-filter.test.ts
Description: Verify that price marks are visible at key intervals.
Test Steps:
Expected Result: