在光滑之间传递价值

时间:2015-06-25 22:42:55

标签: angularjs slick.js

我需要在第一个光滑的旋转木马上滑动,通过onAfterChange事件更换第二个光滑的旋转木马。

<slick  slides-to-scroll="1" arrows="false" current-index="slick.current"  class="first-slide"  next="slick.current" on-after-change="slick.onAfterChange(this)">
    <div>blah blah</div>
    <div>blah blah</div>
<slick>

<slick  slides-to-scroll="{{numtoslide}}" ng-transclude arrows="false" variable-width="true" init-onload=true center-padding="60px" center-mode="false">
    <div ng-repeat="t in fevt track by $index" ng-if="t.section != 'venues'"style="width:320px;margin-right:5px;">
        <a ng-href="#!/about/{{t._event_id}}&all"><img  style="height:160px;width:320px;" class="img-thumbnail" ng-src="{{t.thumbnail}}"/>
        <div class="fc_desc">
            <h3>{{t.headline}}</h3>
            <span class="date-text">{{t.date_string}}</span>
        </div>
        </a>
    </div>
</slick>

0 个答案:

没有答案