rkalita
rkalita

Reputation: 575

Angular material vertical slider

I can't found any solutions for vertical slider in angular material so i decide to do this by CSS but it works not correct. Maybe someone had a similar problem?

View

<body>
    <md-slider name="slider" aria-label="slider" min="0" max="100" step="1"></md-slider>
</body>

CSS

md-slider {
    position: absolute;
    top: 50%;
    transform: rotate(270deg);
}

Plunker

Upvotes: 0

Views: 2102

Answers (1)

Shankar Gurav
Shankar Gurav

Reputation: 1067

vertical slider is being added to material, you can wait or take a logic from this build

You can also get repository from https://github.com/angular/material and build it and then reference.

I am not sure for developer cdn availing this changes.

Upvotes: 2

Related Questions