The Slider component

This component is not supported for Google Ads, Google AdMob, AMPHTML ads video ads , or image ads .

The Slider component lets you add a slider to your project. Users can drag the slider to pick a number from a range that you specify. Sliders are useful when you don't need an exact numeric value.

To use the Slider component in your project:

  1. Open the Componentspanel, then the UIfolder.
  2. Drag the Slidercomponent to the stage.
  3. In the Sliderproperties section of the Propertiespanel, set the slider range by entering the minimum value in the  Min field and the maximum value in the  Max field.
  4. You may want to use the Label component to display text before the slider.

Properties

Property Description
Name The component name.
Value The default setting for the slider. Should be a number.
Min The lowest setting on the slider. Should be a number. The default is 1.
Max The highest setting on the slider. Should be a number. The default is 100.
Step The granularity of the slider. For example, enter 10 to allow only multiples of 10. Enter any to allow any decimal value between the minimum and maximum. The default is 1 (allowing only integers).

Events and actions

Events sent by the Slider component

You can trigger other actions based on the following Slider component events:

Event Description
Change Sent when a change to the slider's value is committed (e.g., the user drags the slider to one side then releases the mouse button).
Input Sent when the slider's value changes.

To select one of these events in the Eventdialog, set the Slider component as the target.

Learn how to configure events .

Preview

You can't interact with UI components inside the Google Web Designer interface. To see the component in action, preview your document  in your preferred browser. The appearance of UI components may vary depending on the browser.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
13021389244676212885
true
Search Help Center
false
true
true
true
true
true
5050422
false
false
false
false
false
Create a Mobile Website
View Site in Mobile | Classic
Share by: