Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/components/slider/slider-label.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ import { LitElement, css } from 'lit';

import { registerComponent } from '../common/definitions/register.js';

/**
* Allows formatting the values of the slider as string values.
* The text content of the slider labels is used for thumb and tick labels.
*
* @remarks
* When slider labels are provided, the `min`, `max` and `step` properties are automatically
* calculated so that they do not allow values that do not map to the provided labels.
*
* @element igc-slider-label
*/
export default class IgcSliderLabelComponent extends LitElement {
public static readonly tagName = 'igc-slider-label';
public static override styles = css`
Expand Down