The slider drag effect is a relatively common interaction effect in prototype design. Today, bulk sms send we take Douban's rating interval screening component as an example to explain how to implement the interaction of dragging the slider to determine the rating interval in Axure. 1. Interaction effect description The slider and the score value move along the horizontal direction with the mouse drag, bulk sms send and the moving range cannot exceed the two ends of the gray background bar. but we also need to limit the range of the slider left and right
As the slider is dragged, the orange progress bar width changes as the slider is dragged . bulk sms send The coordinates of the score value are always consistent with the slider, and the value should change within the range of "0-10" as the slider is dragged. Effect preview: 2. Component preparation 1. Drag in a [Rectangle] component, set the bulk sms send component width: 300px, height: 6px, corner radius: 6, fill colorand name it "BackGround". Duplicate a "BackGround", place it above the "BackGround", fill it with color: , and name it "ProgressBar".After this step, the slider can be dragged horizontally the mouse, bulk sms send but we also need to limit the range of the slider left and right
Drag in a [circle] component, set the size to: 28px*28px, line width: 1px, line color Drag a [Text Label] above this [Circle] component, bulk sms send set the font color: font size: 12px, text content: "0 points", and name it "Min". Select the above two components and right-click to convert it into a dynamic panel, named "LeftSlider". 3. Copy a "LeftSlider" and name it "RightSlider". Double-click to enter the dynamic panel to modify the text content of the text label: "10 points", named "Max". bulk sms send Adjust the above components according to the positions shown in the figure, and all components are ready. 3. Add interaction 1. Step 1: Add drag interaction to the sliders "LeftSlider" and "RightSlider".