Skip to content

Make slider value non-nullable #22444

Closed
@thw0rted

Description

@thw0rted

Documentation Feedback

The linked docs give the type of value as number | null but the overview never describes a state when the value can actually be null. They say "The initial value is set to the minimum value unless otherwise specified".

If the value actually can be null, an example of this should be provided. If the value is never null (which seems to make more sense?) then the API should be updated so that value is simply number.

Affected documentation page: https://material.angular.io/components/slider/api

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/slider

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions