GitHub - CodeBeamOrg/MudBlazor.MudScrollbar: A MudBlazor extension package that styles the scrollbars throughout the application. | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content
This repository was archived by the owner on Oct 3, 2022. It is now read-only.

CodeBeamOrg/MudBlazor.MudScrollbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MudBlazor.MudScrollbar

A MudBlazor extension package that styles the scrollbars throughout the application.

GitHub Repo stars GitHub last commit Contributors Nuget version Nuget downloads

Usage

Use the MudScrollbar as a component:

<MudScrollbar />

It doesn't matter where you use the component. You can place it start, end or whatever else. It overrides the native scrollbar.

Selector

MudScrollbar communicates with Selector parameter. If you set it null or empty, it means all scrollbars will affect in the application (while the razor page is loaded, so its better to place it in Layout page to use between pages).

Selector both supports id and class selectors in CSS. So both usage is valid (be sure that id selector starts with "#" and class selector starts with "."):

<MudScrollbar Selector="#id1" />
<div id="id1" />
<MudScrollbar Selector=".id2" />
<div class="id2" />

As you see, MudScrollbar affects all scrollbars which container's id or class match the selector.

With Selector property, multiple custom scrollbars in a single page is supported.

Supported Browsers

The parameters works with webkit based browsers like Edge, Chrome, Opera and Safari.

Firefox has different scrollbar mechanism, so the parameters doesn't work for firefox. MudScrollbar has FirefoxStyle parameter to adding styles manually.

Example

This video shows some parameters that how to change scrollbar's width, color and thumb styles.

20221001_172027.mp4

How to set MudSelect and MudAutocomplete's scrollbar styles?

You need to add class to ListClass parameter. It should like this:

<MudScrollbar Selector=".id1" />
<MudSelect ListClass="id1" />

About

A MudBlazor extension package that styles the scrollbars throughout the application.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.