-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(slider): Adding slider vanilla component - FRONT-4252 #3233
base: v4-dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few remarks here.
Also, the slider does not seem to work fine with rtl display
slider.init(); | ||
|
||
It comes with two variants, or actually only one, the default is to slide between items like `cards`, all the slides get the same width and a certain number of items will be visible in relation to the available space. | ||
The variant is `tags` and can be used to slide in a list of `ecl tags`, or even better an `ecl tag set`, this variant would also work with simple links or buttons, elements that gets their width determined by the text that they contain. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a remark here: if the variant 'tags' can be used for things like buttons and links, we could use a more generic name for it
} | ||
|
||
.ecl-slider__info { | ||
display: none; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems to be overriden by javascript
} | ||
|
||
/** | ||
* Static method to create an svg icon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't we put this in the DOM utils?
…nent-library into FRONT-4252-Slider
…y into FRONT-4252-Slider
…y into FRONT-4252-Slider
…y into FRONT-4252-Slider
No description provided.