MBBladeSet
Summary
A plus component to display blades to the right of the viewport in a manner inspired by Microsoft Azure.
- Styling is completely defined by the consumer and without any styling, blades are transparent and without borders.
- Blades work through a cascading value of type
MBBladeSet. You add and remove blades by calling theAddBladeandRemoveBlademethods on this cascading value. See the demo website code for an example - By default the page's main content reduces in width as blades are added, so blades appear within the viewport.
- You can however specify a minimum width for main content to be applied to the
mb-bladeset-main-contentblock. - You can do this either by modifying
mb-bladeset-main-contentdirectly in your CSS file, or adding CSS classes or styles to it using theMainContentAdditionalCssandMainContentAdditionalStylesparameters repectively. - See the Material.Blazor's app.scss file for how we have used media queries with a
demo-blade-main-contentclass that we apply on our website via theMainContentAdditionalCssparameter. - Note that
min-widthmust be in absolute terms, i.e. using units ofpx,emorrem. Percentages,auto,min-contentetc will be ignored by MBBladeSet.
- You can however specify a minimum width for main content to be applied to the