diff --git a/packages/main/src/RangeSlider.js b/packages/main/src/RangeSlider.js index 6673cbcdd929..2926b6788af5 100644 --- a/packages/main/src/RangeSlider.js +++ b/packages/main/src/RangeSlider.js @@ -14,7 +14,7 @@ const metadata = { managedSlots: true, properties: /** @lends sap.ui.webcomponents.main.RangeSlider.prototype */ { /** - * Determines start point of a selection - position of a first handle on the slider. + * Defines start point of a selection - position of a first handle on the slider. *

* * @type {Float} @@ -26,7 +26,7 @@ const metadata = { defaultValue: 0, }, /** - * Determines end point of a selection - position of a second handle on the slider. + * Defines end point of a selection - position of a second handle on the slider. *

* * @type {Float} @@ -43,8 +43,36 @@ const metadata = { /** * @class * - *

Overview

* Represents a numerical interval and two handles (grips) to select a sub-range within it. + * + *

Overview

+ * The purpose of the control is to enable visual selection of sub-ranges within a given interval. + * + *

Structure

+ * The most important properties of the Range Slider are: + * + *

Notes:

+ * + *

Usage

+ * The most common usecase is to select and move sub-ranges on a continuous numerical scale. + * + *

Responsive Behavior

+ * You can move the currently selected range by clicking on it and dragging it along the interval. + * + *

ES6 Module Import

+ * + * import "@ui5/webcomponents/dist/RangeSlider"; * * * @constructor @@ -356,9 +384,7 @@ class RangeSlider extends SliderBase { } static async onDefine() { - await Promise.all([ - fetchI18nBundle("@ui5/webcomponents"), - ]); + await fetchI18nBundle("@ui5/webcomponents"); } } diff --git a/packages/main/src/SliderBase.hbs b/packages/main/src/SliderBase.hbs index 8b6cfebcabcc..cf35442f1a2c 100644 --- a/packages/main/src/SliderBase.hbs +++ b/packages/main/src/SliderBase.hbs @@ -13,7 +13,7 @@ {{#if step}} - {{#if tickmarks}} + {{#if showTickmarks}}
{{#if labelInterval}}