Skip to content

Commit

Permalink
docs(ui5-slider, ui5-range-slider): reflect review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
niyap committed Nov 27, 2023
1 parent 1fa7234 commit a6d6b0b
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions packages/main/src/SliderBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,6 @@ type StateStorage = {

type DirectionStart = "left" | "right";

/**
* @class
*
* <h3 class="comment-api-title">Overview</h3>
*
* @constructor
* @extends UI5Element
* @public
*/
@customElement({
renderer: litRender,
styles: sliderBaseStyles,
})
/**
* Fired when the value changes and the user has finished interacting with the slider.
*
Expand All @@ -49,6 +36,16 @@ type DirectionStart = "left" | "right";
* @public
*/
@event("input")

/**
* @class
*
* <h3 class="comment-api-title">Overview</h3>
*
* @constructor
* @extends UI5Element
* @public
*/
abstract class SliderBase extends UI5Element {
/**
* Defines the minimum value of the slider.
Expand Down Expand Up @@ -228,6 +225,14 @@ abstract class SliderBase extends UI5Element {
};
}

static get render() {
return litRender;
}

static get styles() {
return sliderBaseStyles;
}

get classes() {
return {
root: {
Expand Down

0 comments on commit a6d6b0b

Please sign in to comment.