Skip to content

Commit f5b612d

Browse files
authored
docs(slider-label): add doc comment and element tag for CEM (#1598)
1 parent 942fa74 commit f5b612d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/components/slider/slider-label.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ import { LitElement, css } from 'lit';
22

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

5+
/**
6+
* Allows formatting the values of the slider as string values.
7+
* The text content of the slider labels is used for thumb and tick labels.
8+
*
9+
* @remarks
10+
* When slider labels are provided, the `min`, `max` and `step` properties are automatically
11+
* calculated so that they do not allow values that do not map to the provided labels.
12+
*
13+
* @element igc-slider-label
14+
*/
515
export default class IgcSliderLabelComponent extends LitElement {
616
public static readonly tagName = 'igc-slider-label';
717
public static override styles = css`

0 commit comments

Comments
 (0)