Skip to content

dash_core_components.Slider() modification. #72

@su79eu7k

Description

@su79eu7k

First of all, thanks for your great effort! Incredibly flexible and powerful framework.

I think this is pretty minor but, while I'm building interactive plot, I couldn't find an attribute for slider color change(or style) on the help(dcc.Slider). Is there a way for it? (I could change background color through CSS modification, marker label color like below but not slider bar itself.)

dcc.Slider(
    id='month--slider',
    min=0,
    max=12,
    value=12,
    step=None,
    marks={'1': '1', '6': '6', '12': {'label': '12', 'style': {'color': 'red'}}}
)

e1ybq

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions