private int Activate(int index, string transition = " transition: -webkit-transform 500ms ease 0s;")
        {
            if (Effect == AntCarouselEffect.ScrollX)
            {
                _trackStyle = $"width: {_totalWidth}px; opacity: 1; transform: translate3d(-{_slickWidth * (index + 1)}px, 0px, 0px);{transition}";
            }

            if (index == _slicks.Count)
            {
                index = 0;
            }

            AntCarouselSlick slick = _slicks[index];

            _slicks.ForEach(s =>
            {
                if (s == slick)
                {
                    _activeSlick = s;
                    s.Activate();
                }
                else
                {
                    s.Deactivate();
                }
            });

            return(index);
        }
 internal void AddSlick(AntCarouselSlick slick)
 {
     _slicks.Add(slick);
     if (_activeSlick == null)
     {
         Activate(0);
     }
 }