question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add bool property to show/hide a MudProgressLinear progressbar

See original GitHub issue

Is your feature request related to a problem? Please describe. I’d like a Visible or Hide bool property to show/hide a MudProgressLinear progressbar.

Describe alternatives you’ve considered

<MudProgressLinear Style="@($"display: {ShowElement(ActionIsBusy)};")" ...

@code{
    protected string ShowElement(bool show)
    {
        return show ? "block" : "none";
    }
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mikes-ghcommented, Mar 20, 2021

Yeah, good enough actually. Thanks.

Actually much better because

  1. It doesn’t pollute the API with unnecessary props.
  2. It avoids the performance hit of rendering a hidden component.
1reaction
Yomodocommented, Mar 20, 2021

Yeah, good enough actually. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Progress
Progress indicators inform users about the status of ongoing processes, such as loading an app, submitting a form, or saving updates.
Read more >
ProgressBar.ShowPaused Property - Windows
Gets or sets a value that indicates whether the progress bar should use visual states that communicate a Paused state to the user....
Read more >
How can I change a Boolean property in Lit-Element to ...
Answer: For a Boolean property to be configurable from markup, it must default to false. If it defaults to true, you cannot set...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found