Created
August 15, 2015 08:15
-
-
Save nickmessing/82695bf94c8a0cc5b06c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<title>Dame</title> | |
<link rel="stylesheet" href="style.css"> | |
<table id="dame"> | |
<tr v-repeat="teren"> | |
<td v-repeat="$value" v-class="black: color, focus: focus" v-on="click: click($parent.$index, $index)"> | |
<div v-class="sasca-alba: whiteSasca, sasca-neagra: blackSasca, focus: focusSasca"></div> | |
</td> | |
</tr> | |
</table> | |
<script src="vue.min.js"></script> | |
<script src="script.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment