Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta name="description" content="Grid Alphabets">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.min.js"></script>
  
</head>
<body ng-app="my-app">
  <div ng-controller="grid-controller">
    <div class="container info-bar">
      <input type="checkbox" ng-model="debug">
      <label for="">Debug</label>
      </input>
      <button ng-click="reset()">Reset</button>
      <span>{{currentCol}},{{currentRow}}</span>
    </div>
    
    <div class="container">
      <div class="container-inline">
      <table>
        <tr class="row" ng-repeat="indRow in rows track by $index">
          <td class="cell" ng-class="{selected:mapSelected[(indCol)+','+(indRow)]}"
              ng-repeat="indCol in columns track by $index"
              ng-mouseover="cellHover(indCol, indRow, $event)"
              ng-click="cellClick(indCol, indRow)"
              ></td>
        </tr>
      </table>
      <svg></svg>        
      </div>
    </div>
    <div class="container" ng-if="debug">
      {{mapSelected}}
    </div>
  </div>
  
</body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
sam016pro
0viewers