You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The carousel element has 6 parameters to create variations, I think there is room for improvement. There are more options to pass if we want more configs, like items per page, number of rows, etc.
I don't have a final answer to this problem, I've been playing with some ideas about using configuration objects to abstract the logic and keep the number of parameters close to 1.
The text was updated successfully, but these errors were encountered:
The carousel element has 6 parameters to create variations, I think there is room for improvement. There are more options to pass if we want more configs, like items per page, number of rows, etc.
string $title, array $body, array $items, bool $is_featured = FALSE, array $button = NULL, $is_infinite = FALSE
I don't have a final answer to this problem, I've been playing with some ideas about using configuration objects to abstract the logic and keep the number of parameters close to 1.
The text was updated successfully, but these errors were encountered: