2.0.3 • Published 21 days ago

@maggioli-design-system/mds-horizontal-scroll v2.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
21 days ago

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 JavaScirpt framework you are using.

Properties

PropertyAttributeDescriptionTypeDefault
controlscontrolsSpecifies the viewport which will display navigation controls"all" \| "desktop" \| "large" \| "none" \| "tablet" \| "tv" \| "wide" \| "xlarge" \| undefined'desktop'
scrollbarscrollbarSpecifies the box’s snap position as an alignment of its snap areaboolean \| undefinedundefined
snapsnapSpecifies the box’s snap position as an alignment of its snap area"center" \| "end" \| "none" \| "start" \| undefined'start'

Slots

SlotDescription
"default"Add text string, HTML elements or components to this slot.

Shadow Parts

PartDescription
"content"

CSS Custom Properties

NameDescription
--mds-horizontal-scroll-backgroundSets the background-color of the component
--mds-horizontal-scroll-scrollbar-marginSets the margin of the browser scroll bar (if supported)
--mds-horizontal-scroll-scrollbar-radiusSets the border-radius of the browser scroll bar (if supported)
--mds-horizontal-scroll-scrollbar-sizeSets the height and width of the browser scroll bar (if supported)
--mds-horizontal-scroll-scrollbar-thumb-backgroundSets the background-color of the browser scroll bar thumb (if supported)
--mds-horizontal-scroll-scrollbar-track-backgroundSets 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:4px

Built with love @ Gruppo Maggioli from R&D Department

2.0.3

21 days ago

2.0.2

3 months ago

2.0.0

3 months ago

1.7.0

3 months ago

1.6.3

4 months ago

1.6.2

5 months ago

1.6.1

6 months ago

1.6.0

6 months ago

1.4.2

7 months ago

1.5.0

6 months ago

1.4.1

8 months ago

1.4.0

8 months ago

1.3.1

11 months ago

1.2.0

1 year ago

1.3.0

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

2 years ago