\n
\n = index ||\n (!isSelectable &&\n stars % 1 !== 0 &&\n stars >= index - 1 &&\n stars < index),\n 'icon-star':\n stars % 1 === 0 || (stars % 1 !== 0 && stars >= index - 1),\n 'icon-star-half':\n !isSelectable &&\n stars % 1 !== 0 &&\n stars >= index - 1 &&\n stars < index,\n }\"\n :tabindex=\"isSelectable && 0\"\n @click=\"onClick($event, index)\"\n >\n
\n
\n \n /\n \n
\n
\n