我有一个这样的javascript。有人能说出.scope.find代码在做什么以及从哪里carousel_elem.data('settings');获取数组吗?我只能data-setting="{"arrow:true,...在 HTML 中看到一个 JSON
var WidgetLAECarouselHandler = function ($scope, $) {
var carousel_elem = $scope.find('.lae-carousel, .lae-posts-carousel, .lae-gallery-carousel, .lae-services-carousel').eq(0);
if (carousel_elem.length > 0) {
var settings = carousel_elem.data('settings');
var arrows = settings['arrows'];
var dots = settings['dots'];
var autoplay = settings['autoplay'];
30秒到达战场
相关分类