答えて

0

を助けてください。

<template is="dom-repeat" items="[[items]]" sort="_sortItems" initial-count="1"> 
    <a href$="#[[section]]/[[item.id]]" class="item" aria-label$="More information about [[item.title]]"> 
     <shrine-item item="[[item]]"></shrine-item> 
    </a> 
    </template> 

_sortItems: function() { 
    return Math.round(Math.random()*3) - 1; 
} 
関連する問題