3.0.3 • Published 5 months ago
@maggioli-design-system/mds-horizontal-scroll v3.0.3
mds-horizontal-scroll
This is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
controls | controls | Specifies the viewport which will display navigation controls | "all" \| "desktop" \| "large" \| "none" \| "tablet" \| "tv" \| "wide" \| "xlarge" \| undefined | 'desktop' |
navigation | navigation | Specifies the box’s snap position as an alignment of its snap area | "none" \| "position" \| "scrollbar" \| undefined | 'position' |
snap | snap | Specifies the box’s snap position as an alignment of its snap area | "center" \| "end" \| "none" \| "start" \| undefined | 'start' |
Slots
| Slot | Description |
|---|---|
"default" | Add text string, HTML elements or components to this slot. |
Shadow Parts
| Part | Description |
|---|---|
"content" |
CSS Custom Properties
| Name | Description |
|---|---|
--mds-horizontal-scroll-background | Sets the background-color of the component |
--mds-horizontal-scroll-behavior | Sets the scroll-behavior animation |
--mds-horizontal-scroll-dot-area-background | Sets the dot container area color |
--mds-horizontal-scroll-dot-background | Sets the navigation dot color |
--mds-horizontal-scroll-dot-max-width | Sets the navigation dot max-width, if you want to avoid is scales in proportion of the container |
--mds-horizontal-scroll-max-width | Sets the max-width of the slotted elements container, to keep layout limited as the rest of the sections |
--mds-horizontal-scroll-scrollbar-margin | Sets the margin of the browser scroll bar (if supported) |
--mds-horizontal-scroll-scrollbar-radius | Sets the border-radius of the browser scroll bar (if supported) |
--mds-horizontal-scroll-scrollbar-size | Sets the height and width of the browser scroll bar (if supported) |
--mds-horizontal-scroll-scrollbar-thumb-background | Sets the background-color of the browser scroll bar thumb (if supported) |
--mds-horizontal-scroll-scrollbar-track-background | Sets the background-color of the browser scroll bar track (if supported) |
Dependencies
Depends on
Graph
graph TD;
mds-horizontal-scroll --> mds-button
mds-button --> mds-spinner
mds-button --> mds-icon
mds-button --> mds-text
style mds-horizontal-scroll fill:#f9f,stroke:#333,stroke-width:4pxBuilt with love @ Gruppo Maggioli from R&D Department
2.2.0
8 months ago
2.0.9
11 months ago
2.0.10
9 months ago
2.1.0
8 months ago
3.0.3
5 months ago
3.0.2
5 months ago
3.0.1
7 months ago
2.0.6
1 year ago
2.0.5
1 year ago
2.0.4
1 year ago
2.0.3
2 years ago
2.0.2
2 years ago
2.0.0
2 years ago
1.7.0
2 years ago
1.6.3
2 years ago
1.6.2
2 years ago
1.6.1
2 years ago
1.6.0
2 years ago
1.4.2
2 years ago
1.5.0
2 years ago
1.4.1
2 years ago
1.4.0
2 years ago
1.3.1
2 years ago
1.2.0
3 years ago
1.3.0
3 years ago
1.1.0
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago